Skip to content

[BUG] ray_test fails locally due to timezone issues #6772

@Sovietaced

Description

@Sovietaced

Flyte & Flytekit version

Flyte Master

Describe the bug

=== RUN   TestGetEventInfo_LogTemplates/ray_job_start_time
    ray_test.go:1248: 
        	Error Trace:	/Users/jasonparraga/code/flyte/flyteplugins/go/tasks/plugins/k8s/ray/ray_test.go:1248
        	Error:      	Not equal: 
        	            	expected: []*core.TaskLog{(*core.TaskLog)(0x14000790600)}
        	            	actual  : []*core.TaskLog{(*core.TaskLog)(0x14000790a20)}
        	            	
        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -13,3 +13,3 @@
        	            	   unknownFields: ([]uint8) <nil>,
        	            	-  Uri: (string) (len=43) "http://test/2024-01-01T12:00:00Z/1704110400",
        	            	+  Uri: (string) (len=48) "http://test/2024-01-01T04:00:00-08:00/1704110400",
        	            	   Name: (string) (len=10) "ray job ID",
        	Test:       	TestGetEventInfo_LogTemplates/ray_job_start_time

Expected behavior

Unit tests should pass locally

Additional context to reproduce

No response

Screenshots

No response

Are you sure this issue hasn't been raised already?

  • Yes

Have you read the Code of Conduct?

  • Yes

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions