You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// There should be a warning since we're really close to our agent limit.
656
+
require.Equal(t, entitlements.Warnings[0], "You are approaching the managed agent limit in your license. Please refer to the Deployment Licenses page for more information.")
657
+
658
+
// Create a fake provision response that claims there are agents in the
659
+
// template and every built workspace.
660
+
//
636
661
// It's fine that the app ID is only used in a single successful workspace
// Create a second AI workspace, which should fail. This needs to be done
695
720
// manually because coderdtest.CreateWorkspace expects it to succeed.
696
-
_, err:=cli.CreateUserWorkspace(context.Background(), codersdk.Me, codersdk.CreateWorkspaceRequest{ //nolint:gocritic // owners must still be subject to the limit
721
+
_, err=cli.CreateUserWorkspace(ctx, codersdk.Me, codersdk.CreateWorkspaceRequest{ //nolint:gocritic // owners must still be subject to the limit
0 commit comments