From 08bbc0e2205c59b70f77620ce47a49333cc45f70 Mon Sep 17 00:00:00 2001 From: "Daniel (dB.) Doubrovkine" Date: Mon, 12 Aug 2024 17:10:36 -0400 Subject: [PATCH] Fix: correctly named folders/files. (#497) * Fix: correctly named folders/files. Signed-off-by: dblock * Refresh index to avoid flaky test. Signed-off-by: dblock --------- Signed-off-by: dblock --- tests/default/indices/{mapping.yml => mapping.yaml} | 0 tests/default/observability/observability.yaml | 5 ++++- .../authtoken.yml => internalusers/authtoken.yaml} | 0 tests/default/security/api/ssl/{certs.yml => certs.yaml} | 0 .../security/api/{_upgrade_check.yaml => upgrade_check.yaml} | 0 .../api/{_upgrade_perform.yaml => upgrade_perform.yaml} | 0 6 files changed, 4 insertions(+), 1 deletion(-) rename tests/default/indices/{mapping.yml => mapping.yaml} (100%) rename tests/default/security/api/{internalusers.yml/authtoken.yml => internalusers/authtoken.yaml} (100%) rename tests/default/security/api/ssl/{certs.yml => certs.yaml} (100%) rename tests/default/security/api/{_upgrade_check.yaml => upgrade_check.yaml} (100%) rename tests/default/security/api/{_upgrade_perform.yaml => upgrade_perform.yaml} (100%) diff --git a/tests/default/indices/mapping.yml b/tests/default/indices/mapping.yaml similarity index 100% rename from tests/default/indices/mapping.yml rename to tests/default/indices/mapping.yaml diff --git a/tests/default/observability/observability.yaml b/tests/default/observability/observability.yaml index f9e37461c..e27b2be5e 100644 --- a/tests/default/observability/observability.yaml +++ b/tests/default/observability/observability.yaml @@ -57,6 +57,9 @@ prologues: - name: field1 type: text status: [200] + - path: /_refresh + method: POST + status: [200] chapters: - synopsis: Retrieve specific Observability object after creation. path: /_plugins/_observability/object/{object_id} @@ -144,7 +147,7 @@ chapters: status: 200 payload: startIndex: 0 - totalHits: 0 + totalHits: 1 totalHitRelation: eq observabilityObjectList: [] epilogues: diff --git a/tests/default/security/api/internalusers.yml/authtoken.yml b/tests/default/security/api/internalusers/authtoken.yaml similarity index 100% rename from tests/default/security/api/internalusers.yml/authtoken.yml rename to tests/default/security/api/internalusers/authtoken.yaml diff --git a/tests/default/security/api/ssl/certs.yml b/tests/default/security/api/ssl/certs.yaml similarity index 100% rename from tests/default/security/api/ssl/certs.yml rename to tests/default/security/api/ssl/certs.yaml diff --git a/tests/default/security/api/_upgrade_check.yaml b/tests/default/security/api/upgrade_check.yaml similarity index 100% rename from tests/default/security/api/_upgrade_check.yaml rename to tests/default/security/api/upgrade_check.yaml diff --git a/tests/default/security/api/_upgrade_perform.yaml b/tests/default/security/api/upgrade_perform.yaml similarity index 100% rename from tests/default/security/api/_upgrade_perform.yaml rename to tests/default/security/api/upgrade_perform.yaml