chore: reduce the log output of skipped tests (#7520)

With the introduction of the workspace proxy tests there was a lot
of output if a test was eventually skipped.
This commit is contained in:
Kyle Carberry
2023-05-14 19:37:00 -05:00
committed by GitHub
parent 9bb0253290
commit 70d2203b9e
8 changed files with 31 additions and 34 deletions

View File

@ -252,7 +252,7 @@ func TestWorkspaceApplicationAuth(t *testing.T) {
func TestWorkspaceApps(t *testing.T) {
t.Parallel()
apptest.Run(t, func(t *testing.T, opts *apptest.DeploymentOptions) *apptest.Deployment {
apptest.Run(t, true, func(t *testing.T, opts *apptest.DeploymentOptions) *apptest.Deployment {
deploymentValues := coderdtest.DeploymentValues(t)
deploymentValues.DisablePathApps = clibase.Bool(opts.DisablePathApps)
deploymentValues.Dangerous.AllowPathAppSharing = clibase.Bool(opts.DangerousAllowPathAppSharing)
@ -280,11 +280,10 @@ func TestWorkspaceApps(t *testing.T) {
user := coderdtest.CreateFirstUser(t, client)
return &apptest.Deployment{
Options: opts,
SDKClient: client,
FirstUser: user,
PathAppBaseURL: client.URL,
AppHostIsPrimary: true,
Options: opts,
SDKClient: client,
FirstUser: user,
PathAppBaseURL: client.URL,
}
})
}