Commit 9cd5302f authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 73b9c447
...@@ -331,6 +331,9 @@ func (c *Client) recvMaster1(ctx context.Context, req neonet.Request) error { ...@@ -331,6 +331,9 @@ func (c *Client) recvMaster1(ctx context.Context, req neonet.Request) error {
c.node.UpdateClusterState(ctx, msg) c.node.UpdateClusterState(ctx, msg)
} }
// XXX
// *proto.InvalidateObjects -> watchq
// update .operational + notify those who was waiting for it // update .operational + notify those who was waiting for it
opready := c.updateOperational() opready := c.updateOperational()
c.node.StateMu.Unlock() c.node.StateMu.Unlock()
......
...@@ -268,7 +268,6 @@ func TestLoad(t *testing.T) { ...@@ -268,7 +268,6 @@ func TestLoad(t *testing.T) {
} }
func TestWatch(t *testing.T) { func TestWatch(t *testing.T) {
t.Skip("FIXME currently hangs")
withNEOSrv(t, func(t *testing.T, nsrv NEOSrv) { withNEOSrv(t, func(t *testing.T, nsrv NEOSrv) {
xtesting.DrvTestWatch(t, fmt.Sprintf("neo://%s@%s", nsrv.ClusterName(), nsrv.MasterAddr()), openClientByURL) xtesting.DrvTestWatch(t, fmt.Sprintf("neo://%s@%s", nsrv.ClusterName(), nsrv.MasterAddr()), openClientByURL)
}) })
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment