forked from loafle/openapi-generator-original
skip the test as async call may have finished (#4377)
This commit is contained in:
parent
c4f0b09459
commit
55737c236c
@ -128,8 +128,6 @@ public class PetApiTest {
|
|||||||
//empty
|
//empty
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// the API call should be executed asynchronously, so result should be empty at the moment
|
|
||||||
assertTrue(result.isEmpty());
|
|
||||||
|
|
||||||
// wait for the asynchronous call to finish (at most 10 seconds)
|
// wait for the asynchronous call to finish (at most 10 seconds)
|
||||||
final int maxTry = 10;
|
final int maxTry = 10;
|
||||||
|
@ -128,8 +128,6 @@ public class PetApiTest {
|
|||||||
//empty
|
//empty
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
// the API call should be executed asynchronously, so result should be empty at the moment
|
|
||||||
assertTrue(result.isEmpty());
|
|
||||||
|
|
||||||
// wait for the asynchronous call to finish (at most 10 seconds)
|
// wait for the asynchronous call to finish (at most 10 seconds)
|
||||||
final int maxTry = 10;
|
final int maxTry = 10;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user