Skip to content
Snippets Groups Projects

Fix flaky test

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -65,6 +65,6 @@ public class WorkerSettingsTest {
"api-token", Collections.singletonList("stuff")
));
assertThat(Pattern.compile("\\D+\\d+")
.matcher(settings.getName()).replaceAll("true")).isEqualTo("true");
.matcher(settings.getName()).matches()).isTrue();
}
}
Loading