Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix threat intel multinode tests #1274

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

jowg-amazon
Copy link
Collaborator

@jowg-amazon jowg-amazon commented Aug 27, 2024

Description

Makes creating ioc indices async which fixes multi node tests failing with this error

{"error":{"root_cause":[{"type":"resource_already_exists_exception","reason":"index [.opensearch-sap-iocs-slcqo5eb8aruhdvnjh_--1723282892147/EJPu2uCgTVGmKFLsPdLUMA] already exists","index":".opensearch-sap-iocs-slcqo5eb8aruhdvnjh_--1723282892147","index_uuid":"EJPu2uCgTVGmKFLsPdLUMA"}],"type":"resource_already_exists_exception","reason":"index [.opensearch-sap-iocs-slcqo5eb8aruhdvnjh_--1723282892147/EJPu2uCgTVGmKFLsPdLUMA] already exists","index":".opensearch-sap-iocs-slcqo5eb8aruhdvnjh_--1723282892147","index_uuid":"EJPu2uCgTVGmKFLsPdLUMA"},"status":400}
        at __randomizedtesting.SeedInfo.seed([F7F112DCB87B4FEA:BBA7EAA52758C64E]:0)

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
  • New functionality has been documented.
  • API changes companion pull request created.
  • Commits are signed per the DCO using --signoff.
  • Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Joanne Wang <jowg@amazon.com>
Signed-off-by: Joanne Wang <jowg@amazon.com>
@jowg-amazon jowg-amazon merged commit f89c3ed into opensearch-project:main Sep 4, 2024
16 of 19 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 4, 2024
* fix multinode tests

Signed-off-by: Joanne Wang <jowg@amazon.com>

* fix multinode

Signed-off-by: Joanne Wang <jowg@amazon.com>

---------

Signed-off-by: Joanne Wang <jowg@amazon.com>
(cherry picked from commit f89c3ed)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 4, 2024
* fix multinode tests

Signed-off-by: Joanne Wang <jowg@amazon.com>

* fix multinode

Signed-off-by: Joanne Wang <jowg@amazon.com>

---------

Signed-off-by: Joanne Wang <jowg@amazon.com>
(cherry picked from commit f89c3ed)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 4, 2024
* fix multinode tests

Signed-off-by: Joanne Wang <jowg@amazon.com>

* fix multinode

Signed-off-by: Joanne Wang <jowg@amazon.com>

---------

Signed-off-by: Joanne Wang <jowg@amazon.com>
(cherry picked from commit f89c3ed)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
opensearch-trigger-bot bot pushed a commit that referenced this pull request Sep 4, 2024
* fix multinode tests

Signed-off-by: Joanne Wang <jowg@amazon.com>

* fix multinode

Signed-off-by: Joanne Wang <jowg@amazon.com>

---------

Signed-off-by: Joanne Wang <jowg@amazon.com>
(cherry picked from commit f89c3ed)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
jowg-amazon pushed a commit that referenced this pull request Sep 4, 2024
* fix multinode tests



* fix multinode



---------


(cherry picked from commit f89c3ed)

Signed-off-by: Joanne Wang <jowg@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
jowg-amazon pushed a commit that referenced this pull request Sep 4, 2024
* fix multinode tests



* fix multinode



---------


(cherry picked from commit f89c3ed)

Signed-off-by: Joanne Wang <jowg@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
jowg-amazon pushed a commit that referenced this pull request Sep 4, 2024
* fix multinode tests



* fix multinode



---------


(cherry picked from commit f89c3ed)

Signed-off-by: Joanne Wang <jowg@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
jowg-amazon pushed a commit that referenced this pull request Sep 4, 2024
* fix multinode tests



* fix multinode



---------


(cherry picked from commit f89c3ed)

Signed-off-by: Joanne Wang <jowg@amazon.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants