Skip to content
This repository was archived by the owner on Aug 30, 2026. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix(test): fix flaky test
The expectation list needs to be thread safe as it could be accessed from multiple grpc server threads

Change-Id: I74be5cd433fc31963b1c22091216dffa1ef9c55e
  • Loading branch information
igorbernstein2 committed Feb 16, 2023
commit 3d23de013f3da9912a8ee32c01b1fc16b75f1967
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ private List<String> getResults(Query query) {
}

private static class TestBigtableService extends BigtableGrpc.BigtableImplBase {
Queue<RpcExpectation> expectations = Queues.newArrayDeque();
Queue<RpcExpectation> expectations = new LinkedBlockingDeque<>();
int i = -1;

@Override
Expand Down
⌂ 换网址