]> 127.0.0.1 Git - part/.git/commitdiff
fix
authorqydysky <32743305+qydysky@users.noreply.github.com>
Sun, 12 Mar 2023 14:17:59 +0000 (22:17 +0800)
committerqydysky <32743305+qydysky@users.noreply.github.com>
Sun, 12 Mar 2023 14:17:59 +0000 (22:17 +0800)
msgq/Msgq_test.go

index de4ad2a513969ac706e687ece9820d821f091925..2dab2621b4ab7e7b687f3aba71793c9ee1d7c43e 100644 (file)
@@ -348,12 +348,12 @@ func Test_msgq7(t *testing.T) {
                return i > 10
        })
        msg.Pull_tag_only(`1`, func(i int) (disable bool) {
-               time.Sleep(time.Second * 2)
+               time.Sleep(time.Second * 3)
                c <- "3"
                return i > 10
        })
        msg.Pull_tag_only(`1`, func(i int) (disable bool) {
-               time.Sleep(time.Second * 2)
+               time.Sleep(time.Second * 3)
                c <- "4"
                return i > 10
        })