cleanup
parent
88f12256e7
commit
1814597129
|
@ -2,7 +2,6 @@ package wal
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"log"
|
|
||||||
"os"
|
"os"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
@ -34,7 +33,6 @@ func TestFollower(t *testing.T) {
|
||||||
run := func(name string, inner func(t *testing.T, walPath string, w *Writer, f *Follower)) {
|
run := func(name string, inner func(t *testing.T, walPath string, w *Writer, f *Follower)) {
|
||||||
t.Run(name, func(t *testing.T) {
|
t.Run(name, func(t *testing.T) {
|
||||||
walPath := randPath() + ".wal"
|
walPath := randPath() + ".wal"
|
||||||
log.Print(walPath)
|
|
||||||
defer os.RemoveAll(walPath)
|
defer os.RemoveAll(walPath)
|
||||||
w := NewWriter(walPath)
|
w := NewWriter(walPath)
|
||||||
defer w.Close()
|
defer w.Close()
|
||||||
|
|
Reference in New Issue