diff --git a/seaweed-block/core/host/master/workspace_holder_identity_test.go b/seaweed-block/core/host/master/workspace_holder_identity_test.go index 653d9906a7..eac051f7b2 100644 --- a/seaweed-block/core/host/master/workspace_holder_identity_test.go +++ b/seaweed-block/core/host/master/workspace_holder_identity_test.go @@ -49,7 +49,7 @@ func TestWorkspaceLeaseRequiresHolderServerForGrantRenewAndRegrant(t *testing.T) t.Errorf("%s accepted lease for server %q", stage, server) } after := h.Publisher().WorkspaceState("v") - if !reflect.DeepEqual(before.Lease, after.Lease) { + if !reflect.DeepEqual(before, after) { t.Errorf("%s refused identity changed lease", stage) } }