From 6f6c8aeda9d5c219e2958df94dce93ca5a88a6ea Mon Sep 17 00:00:00 2001 From: Humair Khan Date: Thu, 3 Oct 2024 17:53:03 -0400 Subject: [PATCH] correct lastrun unittest timestamps (#11270) Signed-off-by: Humair Khan --- backend/src/apiserver/server/experiment_server_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/apiserver/server/experiment_server_test.go b/backend/src/apiserver/server/experiment_server_test.go index cdea5babcbd..dfe201e6f88 100644 --- a/backend/src/apiserver/server/experiment_server_test.go +++ b/backend/src/apiserver/server/experiment_server_test.go @@ -739,7 +739,7 @@ func TestListExperimentsByLastRunCreation(t *testing.T) { DisplayName: "exp1", Description: "", CreatedAt: ×tamp.Timestamp{Seconds: 1}, - LastRunCreatedAt: ×tamp.Timestamp{Seconds: 6}, + LastRunCreatedAt: ×tamp.Timestamp{Seconds: 5}, StorageState: apiV2beta1.Experiment_AVAILABLE, Namespace: "", } @@ -747,8 +747,8 @@ func TestListExperimentsByLastRunCreation(t *testing.T) { ExperimentId: experiment2.ExperimentId, DisplayName: "exp2", Description: "", - CreatedAt: ×tamp.Timestamp{Seconds: 5}, - LastRunCreatedAt: ×tamp.Timestamp{Seconds: 8}, + CreatedAt: ×tamp.Timestamp{Seconds: 4}, + LastRunCreatedAt: ×tamp.Timestamp{Seconds: 7}, StorageState: apiV2beta1.Experiment_AVAILABLE, Namespace: "", }