mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 19:29:06 +01:00
Fix race condition in IntroductionIntegrationTest.
This commit is contained in:
@@ -986,6 +986,10 @@ public class IntroductionIntegrationTest
|
|||||||
@Test
|
@Test
|
||||||
public void testIntroduceesRemovedCleanup() throws Exception {
|
public void testIntroduceesRemovedCleanup() throws Exception {
|
||||||
addListeners(true, true);
|
addListeners(true, true);
|
||||||
|
// The second introducee shouldn't respond to the introduction
|
||||||
|
// otherwise there would be a race between the response to the REQUEST
|
||||||
|
// and the delivery of the ABORT
|
||||||
|
listener2.answerRequests = false;
|
||||||
|
|
||||||
// make introduction
|
// make introduction
|
||||||
introductionManager0
|
introductionManager0
|
||||||
|
|||||||
Reference in New Issue
Block a user