Skip to content

test flake: Test_parseInsightsInterval_week: Query param "end_time" must have the clock set to 00:00:00 #9873

Closed
@johnstcn

Description

@johnstcn

Seen here:

=== Failed
=== FAIL: coderd Test_parseInsightsInterval_week/Two_weeks (0.00s)
    insights_internal_test.go:239: Status:  400
    insights_internal_test.go:240: Body:  {
        	"message": "Query parameter has invalid value.",
        	"validations": [
        		{
        			"field": "end_time",
        			"detail": "Query param \"end_time\" must have the clock set to 00:00:00"
        		}
        	]
        }
        
    insights_internal_test.go:242: 
        	Error Trace:	/home/runner/actions-runner/_work/coder/coder/coderd/insights_internal_test.go:242
        	Error:      	Should be true
        	Test:       	Test_parseInsightsInterval_week/Two_weeks
        	Messages:   	start_time and end_time must be valid

=== FAIL: coderd Test_parseInsightsInterval_week (0.00s)

Metadata

Metadata

Assignees

Labels

s4Internal bugs (e.g. test flakes), extreme edge cases, and bug risks

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions