Skip to content

Commit

Permalink
updated start date and end date for query in historical tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilsinhaparseable authored Jun 7, 2024
1 parent 12f8146 commit 59d3195
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 59d3195

Please sign in to comment.