allow for testEmbargoUnwrapped ordering
This commit is contained in:
parent
13dec22063
commit
d6112f0be7
1 changed files with 4 additions and 2 deletions
|
@ -578,7 +578,9 @@ public class RpcTest {
|
|||
|
||||
var unwrap = capSet.getLocalServer(pipeline).thenApply(unwrapped -> {
|
||||
Assert.assertNotNull(unwrapped);
|
||||
return ((RpcTestUtil.TestCallOrderImpl)unwrapped).getCount();
|
||||
return unwrapped != null
|
||||
? ((RpcTestUtil.TestCallOrderImpl)unwrapped).getCount()
|
||||
: -1;
|
||||
});
|
||||
|
||||
var call0 = getCallSequence(pipeline, 0);
|
||||
|
@ -602,7 +604,7 @@ public class RpcTest {
|
|||
Assert.assertEquals(5, call5.join().getN());
|
||||
|
||||
int unwrappedAt = unwrap.join();
|
||||
//Assert.assertTrue(unwrappedAt >= 3);
|
||||
Assert.assertTrue(unwrappedAt >= 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue