-
Notifications
You must be signed in to change notification settings - Fork 6
fix(cli-integ): some tests are failing when executing the suite with atmosphere #72
Changes from all commits
0b22292
0487747
b4dfd9f
c74be5d
c8cc9ea
c8e8173
9d013fe
752f1ab
2fc4873
b33e4fd
ec69543
46a9f45
99bc2ec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -28,9 +28,12 @@ integTest('amplify integration', withToolContext(async (context) => { | |
| await shell.shell(['npm', 'create', '-y', 'amplify']); | ||
| await shell.shell(['npx', 'ampx', 'configure', 'telemetry', 'disable']); | ||
|
|
||
| const awsCreds = context.aws.identityEnv(); | ||
|
|
||
| await shell.shell(['npx', 'ampx', 'sandbox', '--once'], { | ||
| modEnv: { | ||
| AWS_REGION: context.aws.region, | ||
| ...awsCreds | ||
|
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 was just missing because this test is in a different suite, which I wasn't testing against. |
||
| }, | ||
| }); | ||
| try { | ||
|
|
@@ -42,6 +45,7 @@ integTest('amplify integration', withToolContext(async (context) => { | |
| await shell.shell(['npx', 'ampx', 'sandbox', 'delete', '--yes'], { | ||
| modEnv: { | ||
| AWS_REGION: context.aws.region, | ||
| ...awsCreds | ||
| }, | ||
| }); | ||
| } | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated to atmosphere but i've seen sporadic behavior with interactive tests as well, this seems to have resolved it.