An experimental pub/sub client and server project.
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

hopefully fix flakey test

Will c3368e4b 2d9f92db

+4
+4
server/server_test.go
··· 183 183 184 184 sendMessage(t, publisherConn, topicA, data) 185 185 186 + // the timeout for a connection is 100 milliseconds, so we should wait at least this long before checking the unsubscribe 187 + // TODO: see if theres a better way, but without this, the test is flakey 188 + time.Sleep(time.Millisecond * 100) 189 + 186 190 assert.Len(t, srv.topics, 2) 187 191 assert.Len(t, srv.topics[topicA].subscriptions, 0) 188 192 assert.Len(t, srv.topics[topicB].subscriptions, 0)