Skip to content

Commit 6033483

Browse files
committed
review
1 parent bb1109d commit 6033483

File tree

1 file changed

+4
-0
lines changed
  • test/smoke/framework/testCore/src/main/java/com/microsoft/applicationinsights/smoketest

1 file changed

+4
-0
lines changed

test/smoke/framework/testCore/src/main/java/com/microsoft/applicationinsights/smoketest/AiSmokeTest.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -849,6 +849,10 @@ protected static Telemetry getTelemetry(int rddCount) throws Exception {
849849
protected static Telemetry getTelemetry(int rddCount, Predicate<RemoteDependencyData> condition)
850850
throws Exception {
851851

852+
if (rddCount > 3) {
853+
throw new IllegalArgumentException("this method currently only supports rddCount up to 3");
854+
}
855+
852856
Telemetry telemetry = new Telemetry();
853857

854858
List<Envelope> rdList = mockedIngestion.waitForItems("RequestData", 1);

0 commit comments

Comments
 (0)