Skip to content

Commit

Permalink
Merge pull request #1302 from bugsnag/fix-breadcrumb-test
Browse files Browse the repository at this point in the history
Fix flaky instrumentation test
  • Loading branch information
fractalwrench authored Jun 28, 2021
2 parents e91f6a7 + f71866e commit 9b1f1d5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,9 @@ public void testClientUser() {

@Test
public void testClientBreadcrumbRetrieval() {
client = generateClient();
Configuration config = new Configuration("api-key");
config.setEnabledBreadcrumbTypes(Collections.<BreadcrumbType>emptySet());
client = generateClient(config);
client.leaveBreadcrumb("Hello World");
List<Breadcrumb> breadcrumbs = client.getBreadcrumbs();
List<Breadcrumb> store = new ArrayList<>(client.breadcrumbState.copy());
Expand Down

0 comments on commit 9b1f1d5

Please sign in to comment.