Skip to content

Commit e2c314e

Browse files
authored
Speed up XPackRestIT a little (#114425)
This speeds up all of the `profiling` tests in `XPackRestIT` by replacing a "wait for refresh" with a "refresh as fast as you can". It'll only be a few seconds of speed up, but it's something. While I'm here I'm reenabling one of our tests that doesn't seem to be causing the slow down. Closes #113340
1 parent 924205f commit e2c314e

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/profiling

1 file changed

+1
-1
lines changed

x-pack/plugin/src/yamlRestTest/resources/rest-api-spec/test/profiling/10_basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ setup:
2929

3030
- do:
3131
bulk:
32-
refresh: wait_for
32+
refresh: true
3333
body:
3434
- {"create": {"_index": "profiling-events-all"}}
3535
- {"Stacktrace.count": [1], "profiling.project.id": ["100"], "os.kernel": ["9.9.9-0"], "tags": ["environment:qa", "region:eu-west-1"], "host.ip": ["192.168.1.2"], "@timestamp": ["1700504427"], "container.name": ["instance-0000000010"], "ecs.version": ["1.12.0"], "Stacktrace.id": ["S07KmaoGhvNte78xwwRbZQ"], "agent.version": ["head-be593ef3-1688111067"], "host.name": ["ip-192-168-1-2"], "host.id": ["8457605156473051743"], "process.thread.name": ["497295213074376"]}

0 commit comments

Comments
 (0)