Skip to content

Commit

Permalink
correct lastrun unittest timestamps (#11270)
Browse files Browse the repository at this point in the history
Signed-off-by: Humair Khan <[email protected]>
  • Loading branch information
HumairAK authored Oct 3, 2024
1 parent 219725d commit 6f6c8ae
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/src/apiserver/server/experiment_server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -739,16 +739,16 @@ func TestListExperimentsByLastRunCreation(t *testing.T) {
DisplayName: "exp1",
Description: "",
CreatedAt: &timestamp.Timestamp{Seconds: 1},
LastRunCreatedAt: &timestamp.Timestamp{Seconds: 6},
LastRunCreatedAt: &timestamp.Timestamp{Seconds: 5},
StorageState: apiV2beta1.Experiment_AVAILABLE,
Namespace: "",
}
expected2 := &apiV2beta1.Experiment{
ExperimentId: experiment2.ExperimentId,
DisplayName: "exp2",
Description: "",
CreatedAt: &timestamp.Timestamp{Seconds: 5},
LastRunCreatedAt: &timestamp.Timestamp{Seconds: 8},
CreatedAt: &timestamp.Timestamp{Seconds: 4},
LastRunCreatedAt: &timestamp.Timestamp{Seconds: 7},
StorageState: apiV2beta1.Experiment_AVAILABLE,
Namespace: "",
}
Expand Down

0 comments on commit 6f6c8ae

Please sign in to comment.