|
|
@ -43,10 +43,7 @@ func setUpStore(directory string, limit uint16) (Store, error) { |
|
|
|
|
|
|
|
|
|
|
|
// Tear down store
|
|
|
|
// Tear down store
|
|
|
|
func tearDownStore() error { |
|
|
|
func tearDownStore() error { |
|
|
|
if err := os.RemoveAll(queueDir); err != nil { |
|
|
|
return os.RemoveAll(queueDir) |
|
|
|
return err |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
return nil |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// TestQueueStorePut - tests for store.Put
|
|
|
|
// TestQueueStorePut - tests for store.Put
|
|
|
|