Skip to content

Commit 096c8f6

Browse files
committed
test: change wait delay
1 parent 81cba6d commit 096c8f6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_auth.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ T["auth()"]["auth before attaching, should not give error"] = function()
3939
return string.find(messages, ".*Authenticated as GitHub user.*") ~= nil
4040
end
4141
42-
vim.wait(30000, function()
42+
vim.wait(5000, function()
4343
return has_passed()
4444
end, 50)
4545
@@ -60,7 +60,7 @@ T["auth()"]["auth issue replication"] = function()
6060
return string.find(messages, ".*Authenticated as GitHub user.*") ~= nil
6161
end
6262
63-
vim.wait(30000, function()
63+
vim.wait(5000, function()
6464
return has_passed()
6565
end, 50)
6666
]])
@@ -74,7 +74,7 @@ T["auth()"]["auth issue replication"] = function()
7474
return string.find(messages, ".*Online.*Enabled.*") ~= nil
7575
end
7676
77-
vim.wait(30000, function()
77+
vim.wait(5000, function()
7878
return has_passed()
7979
end, 50)
8080
@@ -107,7 +107,7 @@ T["auth()"]["is_authenticated when authed returns true"] = function()
107107
return string.find(messages, ".*Authenticated as GitHub user.*") ~= nil
108108
end
109109
110-
vim.wait(30000, function()
110+
vim.wait(5000, function()
111111
return has_passed()
112112
end, 50)
113113
]])
@@ -119,7 +119,7 @@ T["auth()"]["is_authenticated when authed returns true"] = function()
119119
return auth_result == true
120120
end
121121
122-
vim.wait(30000, function()
122+
vim.wait(5000, function()
123123
return has_passed()
124124
end, 50)
125125

0 commit comments

Comments
 (0)