Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4304a06

Browse files
committed
skip for non-postgres
1 parent16be03b commit4304a06

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎coderd/workspacebuilds_test.go‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,6 +1208,9 @@ func TestPostWorkspaceBuild(t *testing.T) {
12081208

12091209
t.Run("NoProvisionersAvailable",func(t*testing.T) {
12101210
t.Parallel()
1211+
if!dbtestutil.WillUsePostgres() {
1212+
t.Skip("this test requires postgres")
1213+
}
12111214
// Given: a coderd instance with a provisioner daemon
12121215
store,ps,db:=dbtestutil.NewDBWithSQLDB(t)
12131216
client,closeDaemon:=coderdtest.NewWithProvisionerCloser(t,&coderdtest.Options{
@@ -1249,6 +1252,9 @@ func TestPostWorkspaceBuild(t *testing.T) {
12491252

12501253
t.Run("AllProvisionersStale",func(t*testing.T) {
12511254
t.Parallel()
1255+
if!dbtestutil.WillUsePostgres() {
1256+
t.Skip("this test requires postgres")
1257+
}
12521258
// Given: a coderd instance with a provisioner daemon
12531259
store,ps,db:=dbtestutil.NewDBWithSQLDB(t)
12541260
client,closeDaemon:=coderdtest.NewWithProvisionerCloser(t,&coderdtest.Options{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp