Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ML][TEST] Fix randomly failing HLRC test (elastic#40973)
Made changes to ensure that unique IDs are generated for model snapshots used by the deleteExpiredDataTest test in the MachineLearningIT suite. Previously a sleep of 1s was performed between jobs under the assumption that this would be sufficient to guarantee that the timestamps used in the composition of the snapshot IDs would be different. The new approach is to wait on the condition that the old and new timestamps are in fact different (to 1s resolution).
- Loading branch information