Skip to content

Commit 5325982

Browse files
committed
wip
Signed-off-by: csviri <[email protected]>
1 parent 4536ae5 commit 5325982

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/java/io/csviri/operator/resourceglue/GlueTest.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ void stringTemplate() {
121121

122122
@Test
123123
void simpleConcurrencyTest() {
124+
// todo set 10
124125
int num = 1;
125126
List<Glue> glueList = testWorkflowList(num);
126127

@@ -138,7 +139,7 @@ void simpleConcurrencyTest() {
138139
}));
139140

140141
glueList.forEach(this::delete);
141-
await().untilAsserted(() -> IntStream.range(0, num).forEach(index -> {
142+
await().timeout(Duration.ofMinutes(5)).untilAsserted(() -> IntStream.range(0, num).forEach(index -> {
142143
var w = get(Glue.class, "testglue" + index);
143144
assertThat(w).isNull();
144145
}));

0 commit comments

Comments
 (0)