Skip to content

Commit

Permalink
fix test param
Browse files Browse the repository at this point in the history
Signed-off-by: wfan <[email protected]>
  • Loading branch information
WindzCUHK committed Oct 17, 2023
1 parent cb02536 commit 39593f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions policy/daemon_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,9 @@ func Test_policyd_Start(t *testing.T) {
ctx: ctx,
},
checkFunc: func(p *policyd, ch <-chan error) error {
time.Sleep(time.Millisecond * 120)
time.Sleep(time.Millisecond * 100)
cancel()
time.Sleep(time.Millisecond * 30)
time.Sleep(time.Millisecond * 50)
asss, ok := (*p.rolePolicies).Get("dummyDom:role.dummyRole")
if !ok {
return errors.New("rolePolicies is empty")
Expand Down

0 comments on commit 39593f9

Please sign in to comment.