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:
parent
ad26a72256
commit
1e4c5c135a
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue