fix
This commit is contained in:
@@ -3,17 +3,17 @@ package shared
|
||||
import "testing"
|
||||
|
||||
func TestMain(t *testing.T) {
|
||||
test1()
|
||||
|
||||
}
|
||||
|
||||
func TestNodeA(t *testing.T) {
|
||||
test1()
|
||||
|
||||
}
|
||||
|
||||
func TestNodeB(t *testing.T) {
|
||||
test1()
|
||||
|
||||
}
|
||||
|
||||
func TestNodeC(t *testing.T) {
|
||||
test1()
|
||||
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@ package shared
|
||||
import (
|
||||
"context"
|
||||
"encoding/gob"
|
||||
"fusenapi/initalize"
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
@@ -29,7 +28,7 @@ func NewFsStateMachine(shardID uint64, replicaID uint64) sm.IStateMachine {
|
||||
shardID: shardID,
|
||||
replicaID: replicaID,
|
||||
store: make(map[int64]*UserState),
|
||||
gdb: initalize.InitMysql("fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest"),
|
||||
// gdb: initalize.InitMysql("fusentest:XErSYmLELKMnf3Dh@tcp(110.41.19.98:3306)/fusentest"),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user