Skip to content

Commit f2e615d

Browse files
committed
testing needs to be parallel
1 parent fe4e2ba commit f2e615d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

coderd/coderd_test.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,12 @@ func TestSwagger(t *testing.T) {
321321
}
322322

323323
func TestCSRFExempt(t *testing.T) {
324+
t.Parallel()
325+
326+
// This test build a workspace with an agent and an app. The app is not
327+
// a real http server, so it will fail to serve requests. We just want
328+
// to make sure the failure is not a CSRF failure, as path based
329+
// apps should be exempt.
324330
t.Run("PathBasedApp", func(t *testing.T) {
325331
t.Parallel()
326332

0 commit comments

Comments
 (0)