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"}}""")