Browse Source

use the memory storage engine when testing

flashmob 6 years ago
parent
commit
3200d2ce9c
1 changed files with 4 additions and 3 deletions
  1. 4 3
      api_test.go

+ 4 - 3
api_test.go

@@ -1183,9 +1183,10 @@ func TestStreamChunkSaver(t *testing.T) {
 		LogFile:      "tests/testlog",
 		AllowedHosts: []string{"grr.la"},
 		BackendConfig: backends.BackendConfig{
-			"stream_save_process":   "mimeanalyzer|chunksaver",
-			"chunksaver_chunk_size": 1024 * 32,
-			"stream_buffer_size":    1024 * 16,
+			"stream_save_process":       "mimeanalyzer|chunksaver",
+			"chunksaver_chunk_size":     1024 * 32,
+			"stream_buffer_size":        1024 * 16,
+			"chunksaver_storage_engine": "memory",
 		},
 	}