This commit is contained in:
eson
2023-08-16 10:41:21 +08:00
parent e565565627
commit 66de41adbb
4 changed files with 5 additions and 9 deletions

View File

@@ -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()
}

View File

@@ -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"),
}
}