test: use NATS in coderdtest by default (#27343)

Closes GRU-70

Enables NATS as the pubsub for `coderdtest` unless specifically overwritten by the test case.
This commit is contained in:
Spike Curtis
2026-07-21 11:19:23 +02:00
committed by GitHub
parent 3227cac217
commit 9bd4cf2a2a
5 changed files with 31 additions and 12 deletions
+1 -1
View File
@@ -166,7 +166,7 @@ type Options struct {
Pubsub pubsub.Pubsub
// ReplicaSyncPubsub is used explicitly to instantiate the replicasync manager downstream if it exists.
// All other consumers of pubsub should reference Options.Pubsub.
ReplicaSyncPubsub *pubsub.PGPubsub
ReplicaSyncPubsub pubsub.Pubsub
RuntimeConfig *runtimeconfig.Manager
// CacheDir is used for caching files served by the API.