Skip to content

Commit dd3a5e1

Browse files
author
Hendrik Muhs
authored
[Transform] fix XPackRestIT continuous transform stats test failure
do not match explicit number but only test existence for duration test (#52504) fixes #52429
1 parent a2c1f2d commit dd3a5e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/src/test/resources/rest-api-spec/test/transform/transforms_stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ teardown:
247247
- gte: { transforms.0.stats.search_time_in_ms: 0 }
248248
- lte: { transforms.0.stats.search_total: 1 }
249249
- match: { transforms.0.stats.search_failures: 0 }
250-
- match: { transforms.0.stats.exponential_avg_checkpoint_duration_ms: 0.0 }
250+
- is_true: transforms.0.stats.exponential_avg_checkpoint_duration_ms
251251
- match: { transforms.0.stats.exponential_avg_documents_indexed: 0.0 }
252252
- match: { transforms.0.stats.exponential_avg_documents_processed: 0.0 }
253253

0 commit comments

Comments
 (0)