diff --git a/lib/srv/desktop/discovery_test.go b/lib/srv/desktop/discovery_test.go index fc188f75ce1d6..01941e02d0056 100644 --- a/lib/srv/desktop/discovery_test.go +++ b/lib/srv/desktop/discovery_test.go @@ -279,7 +279,7 @@ func TestDynamicWindowsDiscovery(t *testing.T) { } desktop.Spec.Addr = "addr2" - _, err = dynamicWindowsClient.UpdateDynamicWindowsDesktop(ctx, desktop) + _, err = dynamicWindowsClient.UpsertDynamicWindowsDesktop(ctx, desktop) require.NoError(t, err) time.Sleep(10 * time.Millisecond)