Skip to content

Commit fbee9e9

Browse files
committed
Fix type mismatch in executor test
Change LastHeartbeat from now.Unix() to now to match time.Time type Signed-off-by: Jakob Haahr Taankvist <[email protected]>
1 parent 44e2369 commit fbee9e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service/sharddistributor/handler/executor_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ func TestHeartbeat(t *testing.T) {
416416
Status: types.ExecutorStatusACTIVE,
417417
}
418418
previousHeartbeat := store.HeartbeatState{
419-
LastHeartbeat: now.Unix(),
419+
LastHeartbeat: now,
420420
Status: types.ExecutorStatusACTIVE,
421421
}
422422

0 commit comments

Comments
 (0)