[ Agent ] [ App ] - fix mysql init bugs - 3
This commit is contained in:
13
agent-go/executor/MySqlFunction_test.go
Normal file
13
agent-go/executor/MySqlFunction_test.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package executor
|
||||
|
||||
import "testing"
|
||||
|
||||
func TestMySqlConnection(t *testing.T) {
|
||||
|
||||
connection, strings := MySqlConnection("10.250.0.126", "33306")
|
||||
if !connection {
|
||||
t.Error(strings)
|
||||
}
|
||||
|
||||
println("success!")
|
||||
}
|
||||
Reference in New Issue
Block a user