Websocket信息变更时通知更新

This commit is contained in:
GoEdgeLab
2021-01-19 13:14:25 +08:00
parent fa9dcc2f04
commit 5d021ec0b5
4 changed files with 44 additions and 13 deletions

View File

@@ -15,15 +15,6 @@ func TestNodeDAO_FindAllNodeIdsMatch(t *testing.T) {
t.Log(nodeIds)
}
func TestNodeDAO_FindChangedClusterIds(t *testing.T) {
var tx *dbs.Tx
clusterIds, err := SharedNodeDAO.FindChangedClusterIds(tx)
if err != nil {
t.Fatal(err)
}
t.Log(clusterIds)
}
func TestNodeDAO_UpdateNodeUp(t *testing.T) {
dbs.NotifyReady()
var tx *dbs.Tx