Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Commit 767b926

Browse files
committed
this might help
1 parent 3b67b3f commit 767b926

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

services/tasks-svc/stories/TaskCRUD_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ func TestCreateUpdateGetTask(t *testing.T) {
186186
assert.NoError(t, err)
187187

188188
assert.NotEqual(t, task.Consistency, assignRes.Consistency, "consistency was not updated")
189+
time.Sleep(time.Millisecond * 100)
189190

190191
// get updated task
191192

@@ -207,6 +208,7 @@ func TestCreateUpdateGetTask(t *testing.T) {
207208
assert.NoError(t, err)
208209

209210
assert.NotEqual(t, task.Consistency, unassignRes.Consistency, "consistency was not updated")
211+
time.Sleep(time.Millisecond * 100)
210212

211213
// get updated task
212214

@@ -226,6 +228,7 @@ func TestCreateUpdateGetTask(t *testing.T) {
226228
assert.NoError(t, err)
227229

228230
assert.NotEqual(t, task.Consistency, rmDueRes.Consistency, "consistency was not updated")
231+
time.Sleep(time.Millisecond * 100)
229232

230233
// get updated task
231234

0 commit comments

Comments
 (0)