From 66b921df683ebe12018e8dc14d15011c44c449b3 Mon Sep 17 00:00:00 2001 From: Jen Hamon Date: Mon, 11 Nov 2024 09:29:45 -0500 Subject: [PATCH] Adjust test assertion --- .../control/serverless/test_create_index_timeouts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/control/serverless/test_create_index_timeouts.py b/tests/integration/control/serverless/test_create_index_timeouts.py index 6cba84da..0271f9f6 100644 --- a/tests/integration/control/serverless/test_create_index_timeouts.py +++ b/tests/integration/control/serverless/test_create_index_timeouts.py @@ -19,4 +19,4 @@ def test_create_index_with_negative_timeout(self, client, create_sl_index_params client.create_index(**create_sl_index_params) desc = client.describe_index(create_sl_index_params["name"]) # Returns immediately without waiting for index to be ready - assert desc.status.ready == False + assert desc.status.ready in [False, True]