Upstream targets not taken out of pool when upstream tests fail

Did you use the api definition that we provided?