1
0
Fork 0
mirror of https://github.com/diamondburned/arikawa.git synced 2024-11-01 04:24:19 +00:00

*: Increase example test timeout

This commit is contained in:
diamondburned 2023-11-04 01:57:57 -07:00
parent ad26a72256
commit 1e4c5c135a
No known key found for this signature in database
GPG key ID: D78C4471CE776659

View file

@ -42,7 +42,7 @@ func TestExamples(t *testing.T) {
// //
// TODO(diamondburned): find a way to detect that the bot is online. Maybe // TODO(diamondburned): find a way to detect that the bot is online. Maybe
// force all examples to print the current username? // force all examples to print the current username?
const exampleRunDuration = 10 * time.Second const exampleRunDuration = 25 * time.Second
buildDir, err := os.MkdirTemp("", "arikawa-examples") buildDir, err := os.MkdirTemp("", "arikawa-examples")
if err != nil { if err != nil {