Skip to content

Commit

Permalink
[FLINK-17739][network][tests] Fix unstable ResultPartitionTest#testIn…
Browse files Browse the repository at this point in the history
…itializeMoreStateThanBuffer
  • Loading branch information
zhijiangW committed May 16, 2020
1 parent dc3a498 commit 7796f6e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
import static org.hamcrest.Matchers.contains;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNull;
import static org.junit.Assert.assertTrue;
import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.mock;
Expand Down Expand Up @@ -509,6 +510,7 @@ public void testInitializeMoreStateThanBuffer() throws Exception {
Thread.sleep(5);
}
}
assertNull(view.getNextBuffer());
}
return null;
};
Expand Down

0 comments on commit 7796f6e

Please sign in to comment.