Skip to content

Commit

Permalink
Actually check allowed
Browse files Browse the repository at this point in the history
  • Loading branch information
Oberon00 committed Dec 17, 2019
1 parent f09dbb6 commit cb55c40
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ private static void waitForSpans(
if (!actual.addAll(exporter.waitForExport(1))) {
actual.clear();
}
assertThat(allowed).containsAtLeastElementsIn(actual);
} while (!actual.containsAll(expected) || actual.size() != expected.size());
assertThat(actual).containsExactlyElementsIn(expected);

Expand Down

0 comments on commit cb55c40

Please sign in to comment.