From 75b13eb20e601b9439a20d0b9eb40ab7b369520c Mon Sep 17 00:00:00 2001 From: Nikhil Sinha Date: Fri, 7 Jun 2024 10:26:47 +0530 Subject: [PATCH] updated start date and end date for query in historical tests --- test_utils.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_utils.go b/test_utils.go index 7e4ca79..7c7bb70 100644 --- a/test_utils.go +++ b/test_utils.go @@ -268,8 +268,8 @@ func QueryLogStreamCount(t *testing.T, client HTTPClient, stream string, count u func QueryLogStreamCount_Historical(t *testing.T, client HTTPClient, stream string, count uint64) { // Query last 30 minutes of data only now := time.Now() - startTime := now.AddDate(0, 0, -32).Format(time.RFC3339Nano) - endTime := now.AddDate(0, 0, -29).Format(time.RFC3339Nano) + startTime := now.AddDate(0, 0, -33).Format(time.RFC3339Nano) + endTime := now.AddDate(0, 0, -27).Format(time.RFC3339Nano) query := map[string]interface{}{ "query": "select count(*) as count from " + stream,