summaryrefslogtreecommitdiff
path: root/srv
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-05-07 14:54:40 -0600
committerBrian Picciano <mediocregopher@gmail.com>2022-05-07 14:55:19 -0600
commit1495c78656c94396c35c5eef5838e2d0f5cce4bf (patch)
tree1d469a44fb9708f1de0f05dae674bba297b08d2f /srv
parent0d016129a425d7014c5b8e2ec8eea50962f9ede3 (diff)
Move integration tests under a build tag
Diffstat (limited to 'srv')
-rw-r--r--srv/src/chat/chat_it_test.go (renamed from srv/src/chat/chat_test.go)2
-rw-r--r--srv/src/cmd/mediocre-blog/main.go1
2 files changed, 2 insertions, 1 deletions
diff --git a/srv/src/chat/chat_test.go b/srv/src/chat/chat_it_test.go
index d37921c..1767d88 100644
--- a/srv/src/chat/chat_test.go
+++ b/srv/src/chat/chat_it_test.go
@@ -1,3 +1,5 @@
+//go:build integration
+
package chat
import (
diff --git a/srv/src/cmd/mediocre-blog/main.go b/srv/src/cmd/mediocre-blog/main.go
index 58a43e9..f12f4af 100644
--- a/srv/src/cmd/mediocre-blog/main.go
+++ b/srv/src/cmd/mediocre-blog/main.go
@@ -67,7 +67,6 @@ func main() {
}
ctx = mctx.Annotate(ctx,
- "dataDir", *dataDir,
"redisProto", *redisProto,
"redisAddr", *redisAddr,
"redisPoolSize", *redisPoolSize,