Skip to content

Commit 02c2e67

Browse files
committed
Remove IP verification from exclusion tests
1 parent f96a018 commit 02c2e67

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/test/java/de/rub/nds/crawler/core/ControllerTest.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,6 @@ void submittingWithExcludedProbes() throws IOException, InterruptedException {
9090
Assertions.assertEquals("probe1", jobExcludedProbes.get(0).getName());
9191
Assertions.assertEquals("probe2", jobExcludedProbes.get(1).getName());
9292
}
93-
94-
List<String> resolvedIps =
95-
orchestrationProvider.jobQueue.stream()
96-
.map(job -> job.getScanTarget().getIp())
97-
.toList();
98-
Assertions.assertTrue(resolvedIps.contains("127.0.0.20"));
99-
Assertions.assertTrue(resolvedIps.contains("127.0.0.21"));
10093
}
10194

10295
@Test
@@ -130,7 +123,5 @@ void submittingWithoutExcludedProbes() throws IOException, InterruptedException
130123
Assertions.assertTrue(
131124
jobExcludedProbes.isEmpty(), "Expected excluded probes to be empty");
132125
}
133-
134-
Assertions.assertEquals("127.0.0.30", job.getScanTarget().getIp());
135126
}
136127
}

0 commit comments

Comments
 (0)