Commit af4864c
authored
Fix flaky test addSnapshotLifecyclePolicy (#46881)
* addSnapshotLifecyclePolicy drop version assertion
This drops the assertion on the policy version (which was pinned to 1L)
as we want to execute both put policy apis (sync and async) for
documentation purposes. This will sometimes (depending on the async
call) yield a version of 2L. Waiting for the async call to always
complete could be an option but the test is already rather slow and it's
a bit of an overkill as we're already verifying the policy was created.1 parent 5dc4dc6 commit af4864c
1 file changed
Lines changed: 0 additions & 1 deletion
File tree
- client/rest-high-level/src/test/java/org/elasticsearch/client/documentation
Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
874 | 874 | | |
875 | 875 | | |
876 | 876 | | |
877 | | - | |
878 | 877 | | |
879 | 878 | | |
880 | 879 | | |
| |||
0 commit comments