Skip to content
Snippets Groups Projects
Commit 4c169922 authored by Erik Oudsen's avatar Erik Oudsen
Browse files

Fix flaky test

parent a1e95a56
No related branches found
No related tags found
2 merge requests!78Master merge,!35Fix flaky test
Pipeline #162400 passed
......@@ -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();
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment