This is an automated email from the ASF dual-hosted git repository. jiayu pushed a commit to branch fix-lonlat-order in repository https://gitbox.apache.org/repos/asf/sedona.git
commit a192aab8e97aa6ee6973271f3a364818073d7f0e Author: Jia Yu <[email protected]> AuthorDate: Tue Aug 8 01:38:32 2023 -0700 Reduce loop times to 1 --- python/tests/properties/crs_transform.py | 2 +- python/tests/spatial_operator/test_linestring_knn.py | 2 +- python/tests/spatial_operator/test_linestring_range.py | 2 +- python/tests/spatial_operator/test_point_knn.py | 2 +- python/tests/spatial_operator/test_point_range.py | 2 +- python/tests/spatial_operator/test_polygon_knn.py | 2 +- python/tests/spatial_operator/test_polygon_range.py | 2 +- python/tests/spatial_operator/test_rectangle_knn.py | 2 +- python/tests/spatial_operator/test_rectangle_range.py | 2 +- python/tests/test_scala_example.py | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/python/tests/properties/crs_transform.py b/python/tests/properties/crs_transform.py index 2cc9c5ec..548ceed5 100644 --- a/python/tests/properties/crs_transform.py +++ b/python/tests/properties/crs_transform.py @@ -30,7 +30,7 @@ index_type = IndexType.RTREE num_partitions = 11 distance = 0.01 input_location_query_polygon = os.path.join(tests_resource, "crs-test-polygon.csv") -loop_times = 5 +loop_times = 1 query_envelope = Envelope(30.01, 40.01, -90.01, -80.01) query_point = Point(34.01, -84.01) top_k = 100 \ No newline at end of file diff --git a/python/tests/spatial_operator/test_linestring_knn.py b/python/tests/spatial_operator/test_linestring_knn.py index cd8ba212..36b3a948 100644 --- a/python/tests/spatial_operator/test_linestring_knn.py +++ b/python/tests/spatial_operator/test_linestring_knn.py @@ -34,7 +34,7 @@ indexType = "rtree" class TestLineStringKnn(TestBase): - loop_times = 5 + loop_times = 1 query_point = Point(-84.01, 34.01) def test_spatial_knn_query(self): diff --git a/python/tests/spatial_operator/test_linestring_range.py b/python/tests/spatial_operator/test_linestring_range.py index 1b60e924..d9041622 100644 --- a/python/tests/spatial_operator/test_linestring_range.py +++ b/python/tests/spatial_operator/test_linestring_range.py @@ -33,7 +33,7 @@ indexType = "rtree" class TestLineStringRange(TestBase): - loop_times = 5 + loop_times = 1 query_envelope = Envelope(-85.01, -60.01, 34.01, 50.01) def test_spatial_range_query(self): diff --git a/python/tests/spatial_operator/test_point_knn.py b/python/tests/spatial_operator/test_point_knn.py index c911475d..8d6d0274 100644 --- a/python/tests/spatial_operator/test_point_knn.py +++ b/python/tests/spatial_operator/test_point_knn.py @@ -34,7 +34,7 @@ indexType = "rtree" class TestPointKnn(TestBase): - loop_times = 5 + loop_times = 1 query_point = Point(-84.01, 34.01) top_k = 100 diff --git a/python/tests/spatial_operator/test_point_range.py b/python/tests/spatial_operator/test_point_range.py index 61ffba15..ef7c62af 100644 --- a/python/tests/spatial_operator/test_point_range.py +++ b/python/tests/spatial_operator/test_point_range.py @@ -47,7 +47,7 @@ polygonMatchWithOriginalDuplicatesCount = 562 class TestPointRange(TestBase): - loop_times = 5 + loop_times = 1 query_envelope = Envelope(-90.01, -80.01, 30.01, 40.01) def test_spatial_range_query(self): diff --git a/python/tests/spatial_operator/test_polygon_knn.py b/python/tests/spatial_operator/test_polygon_knn.py index 49085b3e..2a341e97 100644 --- a/python/tests/spatial_operator/test_polygon_knn.py +++ b/python/tests/spatial_operator/test_polygon_knn.py @@ -33,7 +33,7 @@ indexType = "rtree" class TestPolygonKnn(TestBase): - loop_times = 5 + loop_times = 1 top_k = 100 query_point = Point(-84.01, 34.01) diff --git a/python/tests/spatial_operator/test_polygon_range.py b/python/tests/spatial_operator/test_polygon_range.py index 58c775c7..4537ffc0 100644 --- a/python/tests/spatial_operator/test_polygon_range.py +++ b/python/tests/spatial_operator/test_polygon_range.py @@ -31,7 +31,7 @@ indexType = "rtree" class TestPolygonRange(TestBase): - loop_times = 5 + loop_times = 1 query_envelope = Envelope(-85.01, -60.01, 34.01, 50.01) def test_spatial_range_query(self): diff --git a/python/tests/spatial_operator/test_rectangle_knn.py b/python/tests/spatial_operator/test_rectangle_knn.py index 7674bc52..b032a67a 100644 --- a/python/tests/spatial_operator/test_rectangle_knn.py +++ b/python/tests/spatial_operator/test_rectangle_knn.py @@ -43,7 +43,7 @@ matchWithOriginalDuplicatesCount = 17738 class TestRectangleKNN(TestBase): query_envelope = Envelope(-90.01, -80.01, 30.01, 40.01) - loop_times = 5 + loop_times = 1 query_point = Point(-84.01, 34.01) top_k = 100 query_polygon = Polygon( diff --git a/python/tests/spatial_operator/test_rectangle_range.py b/python/tests/spatial_operator/test_rectangle_range.py index ac92a663..dd25f3ac 100644 --- a/python/tests/spatial_operator/test_rectangle_range.py +++ b/python/tests/spatial_operator/test_rectangle_range.py @@ -41,7 +41,7 @@ matchWithOriginalDuplicatesCount = 17738 class TestRectangleRange(TestBase): query_envelope = Envelope(-90.01, -80.01, 30.01, 40.01) - loop_times = 5 + loop_times = 1 def test_spatial_range_query(self): spatial_rdd = RectangleRDD(self.sc, inputLocation, offset, splitter, True) diff --git a/python/tests/test_scala_example.py b/python/tests/test_scala_example.py index fd2d3a24..adcf53e0 100644 --- a/python/tests/test_scala_example.py +++ b/python/tests/test_scala_example.py @@ -43,7 +43,7 @@ polygon_rdd_end_offset = 9 knn_query_point = Point(-84.01, 34.01) range_query_window = Envelope(-90.01, -80.01, 30.01, 40.01) join_query_partitioning_type = GridType.QUADTREE -each_query_loop_times = 20 +each_query_loop_times = 1 shape_file_input_location = os.path.join(tests_resource, "shapefiles/polygon")
