mirror of
https://github.com/gofiber/storage.git
synced 2025-10-25 01:10:36 +08:00
Revert DisableStartupCheck changes for select drivers
This commit is contained in:
@@ -108,6 +108,18 @@ func Test_MYSQL_New(t *testing.T) {
|
||||
defer newConfigStore.Close()
|
||||
}
|
||||
|
||||
func Test_MYSQL_New_DisableStartupCheck(t *testing.T) {
|
||||
require.NotPanics(t, func() {
|
||||
store := New(Config{
|
||||
Host: "127.0.0.1",
|
||||
Port: 3308,
|
||||
DisableStartupCheck: true,
|
||||
})
|
||||
require.NotNil(t, store)
|
||||
defer store.Close()
|
||||
})
|
||||
}
|
||||
|
||||
func Test_MYSQL_GC(t *testing.T) {
|
||||
testVal := []byte("doe")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user