Skip to content

Commit a0f312d

Browse files
committed
Fix IT tests
1 parent 596d993 commit a0f312d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

x-pack/plugin/profiling/src/internalClusterTest/java/org/elasticsearch/xpack/profiling/action/GetFlameGraphActionIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public void testGetStackTracesUnfiltered() throws Exception {
2626
);
2727
GetFlamegraphResponse response = client().execute(GetFlamegraphAction.INSTANCE, request).get();
2828
// only spot-check top level properties - detailed tests are done in unit tests
29-
assertEquals(1010, response.getSize());
29+
assertEquals(1008, response.getSize());
3030
assertEquals(1.0d, response.getSamplingRate(), 0.001d);
3131
assertEquals(46, response.getSelfCPU());
3232
assertEquals(1995, response.getTotalCPU());

x-pack/plugin/profiling/src/internalClusterTest/java/org/elasticsearch/xpack/profiling/action/GetTopNFunctionsActionIT.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public void testGetTopNFunctionsUnfiltered() throws Exception {
2929
);
3030
request.setAdjustSampleCount(true);
3131
GetTopNFunctionsResponse response = client().execute(GetTopNFunctionsAction.INSTANCE, request).get();
32-
assertEquals(747, response.getTopN().size());
32+
assertEquals(671, response.getTopN().size());
3333
}
3434

3535
public void testGetTopNFunctionsGroupedByServiceName() throws Exception {
@@ -76,6 +76,6 @@ public void testGetTopNFunctionsFromAPM() throws Exception {
7676
null
7777
);
7878
GetTopNFunctionsResponse response = client().execute(GetTopNFunctionsAction.INSTANCE, request).get();
79-
assertEquals(45, response.getTopN().size());
79+
assertEquals(42, response.getTopN().size());
8080
}
8181
}

0 commit comments

Comments
 (0)