mirror of
https://github.com/gofiber/storage.git
synced 2025-12-18 16:28:22 +08:00
Update aerospike_test.go
Co-authored-by: Manuel de la Peña <social.mdelapenya@gmail.com>
This commit is contained in:
@@ -66,13 +66,11 @@ func newTestStore(t testing.TB) *Storage {
|
||||
t.Helper()
|
||||
|
||||
c, err := startAerospikeContainer(context.Background())
|
||||
testcontainers.CleanupContainer(t, c)
|
||||
if err != nil {
|
||||
t.Fatalf("Failed to start Aerospike container: %v", err)
|
||||
}
|
||||
|
||||
// Cleanup container
|
||||
testcontainers.CleanupContainer(t, c)
|
||||
|
||||
// Extract host and port
|
||||
host, err := c.Host(context.TODO())
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user