Skip to content

Commit 4eb2481

Browse files
committed
Merge branch 'main' into githubteams
2 parents 7d72da3 + bacfd63 commit 4eb2481

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ test-postgres: test-clean test-postgres-docker
175175
DB=ci DB_FROM=$(shell go run scripts/migrate-ci/main.go) gotestsum --junitfile="gotests.xml" --packages="./..." -- \
176176
-covermode=atomic -coverprofile="gotests.coverage" -timeout=30m \
177177
-coverpkg=./...,github.com/coder/coder/codersdk \
178-
-count=2 -race -failfast
178+
-count=1 -race -failfast
179179
.PHONY: test-postgres
180180

181181
test-postgres-docker:

coderd/database/db_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ import (
1414

1515
func TestNestedInTx(t *testing.T) {
1616
t.Parallel()
17+
if testing.Short() {
18+
t.SkipNow()
19+
}
1720

1821
uid := uuid.New()
1922
sqlDB := testSQLDB(t)

coderd/workspaces_test.go

+3
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,9 @@ func TestWorkspaceByOwnerAndName(t *testing.T) {
343343
// to run various filters against for testing.
344344
func TestWorkspaceFilter(t *testing.T) {
345345
t.Parallel()
346+
// Manual tests still occur below, so this is safe to disable.
347+
t.Skip("This test is slow and flaky. See: https://github.com/coder/coder/issues/2854")
348+
// nolint:unused
346349
type coderUser struct {
347350
*codersdk.Client
348351
User codersdk.User

0 commit comments

Comments
 (0)