From 6754d5ac8fce740b4d8b8b1b3c293eb050e2c1b0 Mon Sep 17 00:00:00 2001 From: Daniel Baston Date: Thu, 19 Oct 2023 11:45:35 -0400 Subject: [PATCH] autotest: ogr_elasticsearch.py: skip test failing on Windows --- autotest/ogr/ogr_elasticsearch.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autotest/ogr/ogr_elasticsearch.py b/autotest/ogr/ogr_elasticsearch.py index 86c9dc13445f..3e1e503390f1 100755 --- a/autotest/ogr/ogr_elasticsearch.py +++ b/autotest/ogr/ogr_elasticsearch.py @@ -29,6 +29,7 @@ ############################################################################### import json +import sys import time import gdaltest @@ -2827,6 +2828,7 @@ def test_ogr_elasticsearch_geo_shape_wkt( # Test _TIMEOUT / _TERMINATE_AFTER +@pytest.mark.skipif(sys.platform == "win32", reason="Test fails on Windows") def test_ogr_elasticsearch_timeout_terminate_after(es_url, handle_get, handle_post): handle_get("/fakeelasticsearch", """{"version":{"number":"7.0.0"}}""")