Add a Retry to the Bitbucket e2e test (#1718)
Thanks guys. I think V2 of this effort will be to figure out why it's failing occaionally-but-not-always. I'd like to at least make the selector that saveBranch() is looking for. It's been on my list of ones to fix up for a while now, and since saveBranch() is used all over the place, probably a good time.
This commit is contained in:
parent
a51c0e01ac
commit
fdcc18f3d5
|
@ -7,6 +7,7 @@ import io.blueocean.ath.ATHJUnitRunner;
|
|||
import io.blueocean.ath.BaseUrl;
|
||||
import io.blueocean.ath.CustomJenkinsServer;
|
||||
import io.blueocean.ath.Login;
|
||||
import io.blueocean.ath.Retry;
|
||||
import io.blueocean.ath.WaitUtil;
|
||||
import io.blueocean.ath.WebDriverMixin;
|
||||
import io.blueocean.ath.api.classic.ClassicJobApi;
|
||||
|
@ -66,6 +67,7 @@ public class BitbucketServerTest implements WebDriverMixin {
|
|||
}
|
||||
|
||||
@Test
|
||||
@Retry(3)
|
||||
public void testCreationNoJenkinsfile() throws InterruptedException {
|
||||
BitbucketClient client = BitbucketClient.builder()
|
||||
.endPoint(ENDPOINT_URL)
|
||||
|
|
Loading…
Reference in New Issue