-
Notifications
You must be signed in to change notification settings - Fork 258
Update serverless support in integration tests, expand test tooling, add support for beats testing #3486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update serverless support in integration tests, expand test tooling, add support for beats testing #3486
Changes from all commits
c55bbde
12ac235
e939383
2afe998
413c0d7
a16767d
7e8970a
9e26b7c
3aab6e6
369f62e
0b7afae
ef23b3a
a20930d
7d5da83
e75b495
85b4ba5
0051120
fd88bf2
ec9c8c5
e312d0b
27f8814
5611ff9
8267e47
a733070
acff625
3196a39
a79b814
de89941
6a5277b
a5039e6
5a49c56
918fec6
459206a
a7c0c0a
d158d76
b2e4e87
f359ef0
bf3e5f4
1e00bd0
203491c
0903608
875bbd1
c1cadb1
2b0d84d
8c07f05
9edc32c
0c7d0cb
ea4d684
4fe9a58
c3c8255
0a0ea06
d9b62c0
4165bdb
17cf6d4
0bda272
23ec4aa
9794006
3848c41
92aacb4
b380976
0bc94bb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -82,8 +82,10 @@ func (p *provisioner) Provision(ctx context.Context, requests []runner.StackRequ | |
| results[r] = resp | ||
| } | ||
|
|
||
| // wait 15 minutes for all stacks to be ready | ||
| readyCtx, readyCancel := context.WithTimeout(ctx, 15*time.Minute) | ||
| // set a long timeout | ||
| // this context travels up to the magefile, clients that want a shorter timeout can set | ||
| // it via mage's -t flag | ||
| readyCtx, readyCancel := context.WithTimeout(ctx, 25*time.Minute) | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why the additional 10 minutes, is serverless that much slower?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is actually for stateful, I ran into a couple timeouts while testing.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did it fix the problem, or does it just wait longer before failing? Sometimes the stack can fail to come up and waiting doesn't fix it, it just makes you wait longer until finding out. |
||
| defer readyCancel() | ||
|
|
||
| g, gCtx := errgroup.WithContext(readyCtx) | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.