Skip to content

[7.x] Make DataStreamsSnapshotsIT resilient to failures because of local time.#73522

Merged
martijnvg merged 1 commit intoelastic:7.xfrom
martijnvg:backport_73516
May 28, 2021
Merged

[7.x] Make DataStreamsSnapshotsIT resilient to failures because of local time.#73522
martijnvg merged 1 commit intoelastic:7.xfrom
martijnvg:backport_73516

Conversation

@martijnvg
Copy link
Copy Markdown
Member

Backport #73516 to 7.x branch.

Backing index names contain a date component.

Instead of defining what the expected backing index names are before creating the data streams,
resolve these expected backing index names after the data streams are created.

This way we avoid failures that can occur around midnight (local time), where the expected
names are created before midnight and the data streams are created after midnight.

Closes #73510

…me. (elastic#73516)

Backing index names contain a date component.

Instead of defining what the expected backing index names are before creating the data streams,
resolve these expected backing index names after the data streams are created.

This way we avoid failures that can occur around midnight (local time), where the expected
names are created before midnight and the data streams are created after midnight.

Closes elastic#73510
@martijnvg martijnvg merged commit 1f48a9e into elastic:7.x May 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant