File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ import (
16
16
17
17
"cdr.dev/slog/sloggers/slogtest"
18
18
"github.com/coder/coder/coderd/database"
19
+ "github.com/coder/coder/coderd/database/databasefake"
19
20
"github.com/coder/coder/coderd/database/dbtestutil"
20
21
"github.com/coder/coder/enterprise/replicasync"
21
22
"github.com/coder/coder/testutil"
@@ -200,7 +201,8 @@ func TestReplica(t *testing.T) {
200
201
// Ensures that twenty concurrent replicas can spawn and all
201
202
// discover each other in parallel!
202
203
t .Parallel ()
203
- db , pubsub := dbtestutil .NewDB (t )
204
+ db := databasefake .New ()
205
+ pubsub := database .NewPubsubInMemory ()
204
206
logger := slogtest .Make (t , nil )
205
207
srv := httptest .NewServer (http .HandlerFunc (func (w http.ResponseWriter , r * http.Request ) {
206
208
w .WriteHeader (http .StatusOK )
You can’t perform that action at this time.
0 commit comments