func TestThreadSafeAdd(t *testing.T) { // Redis Add is not thread safe. If you run this, the test should fail because it never received // ErrorFull. It's not thread safe because we don't atomically check the state of the bucket and // increment. t.Skip() flushDb() test.ThreadSafeAddTest(getLocalStorage())(t) }
func TestThreadSafeAdd(t *testing.T) { test.ThreadSafeAddTest(New())(t) }