aboutsummaryrefslogtreecommitdiff
path: root/build/gobind-pinecone/monolith_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'build/gobind-pinecone/monolith_test.go')
-rw-r--r--build/gobind-pinecone/monolith_test.go10
1 files changed, 8 insertions, 2 deletions
diff --git a/build/gobind-pinecone/monolith_test.go b/build/gobind-pinecone/monolith_test.go
index 7a7e36c7..f16d1d76 100644
--- a/build/gobind-pinecone/monolith_test.go
+++ b/build/gobind-pinecone/monolith_test.go
@@ -22,7 +22,10 @@ import (
)
func TestMonolithStarts(t *testing.T) {
- monolith := DendriteMonolith{}
+ monolith := DendriteMonolith{
+ StorageDirectory: t.TempDir(),
+ CacheDirectory: t.TempDir(),
+ }
monolith.Start()
monolith.PublicKey()
monolith.Stop()
@@ -60,7 +63,10 @@ func TestMonolithSetRelayServers(t *testing.T) {
}
for _, tc := range testCases {
- monolith := DendriteMonolith{}
+ monolith := DendriteMonolith{
+ StorageDirectory: t.TempDir(),
+ CacheDirectory: t.TempDir(),
+ }
monolith.Start()
inputRelays := tc.relays