diff --git a/server/storage/wal/wal_test.go b/server/storage/wal/wal_test.go
index 45bae828c..ed3a8893d 100644
--- a/server/storage/wal/wal_test.go
+++ b/server/storage/wal/wal_test.go
@@ -16,11 +16,11 @@ package wal
 
 import (
 	"bytes"
+	"crypto/rand"
 	"errors"
 	"fmt"
 	"io"
 	"math"
-	"math/rand"
 	"os"
 	"path"
 	"path/filepath"