Skip to content

Commit 52603bb

Browse files
committed
remove time-range restriction tests
Signed-off-by: Saad Khan <[email protected]>
1 parent 0658056 commit 52603bb

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

tests/scripts/local_monitoring_tests/rest_apis/test_bulkAPI.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,7 @@ def test_bulk_post_request(cluster_type, bulk_request_payload, expected_job_id_p
106106
("", "", "Invalid date format. Must follow ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ) for the jobId:"), # empty
107107
("2024-01-01 10:00:00", "2024-01-01T12:00:00Z", "Invalid date format. Must follow ISO 8601 format (YYYY-MM-DDTHH:mm:ss.sssZ) for the jobId:"), # bad format
108108
("2025-01-02T12:00:00Z", "2025-01-01T12:00:00Z", "Start time should be before end time for the jobId:"), # start > end
109-
# less than 24 hours difference
110-
("2025-01-01T00:00:00Z", "2025-01-01T10:00:00Z", "Time range must be between 24 hours and 15 days for the jobId:"),
111-
# more than 15 days difference
112-
("2025-01-01T00:00:00Z", "2025-01-30T00:00:00Z", "Time range must be between 24 hours and 15 days for the jobId:"),
113-
])
109+
])
114110
def test_bulk_api_time_range_validation(cluster_type, start, end, expected_error, caplog):
115111
"""
116112
Validates all negative time-range scenarios for Bulk API.

0 commit comments

Comments
 (0)