-
Notifications
You must be signed in to change notification settings - Fork 72
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
acc: replace LocalOnly option with Local & Cloud #2387
Changes from all commits
63934e7
495f1c4
0c2a966
b04df5d
56fe08e
78c3957
e5eea9b
8c51b89
e62204e
74337e9
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 |
---|---|---|
@@ -1,5 +1,3 @@ | ||
LocalOnly = true | ||
|
||
RecordRequests = true | ||
IncludeRequestHeaders = ["Authorization", "User-Agent"] | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
LocalOnly = true | ||
Cloud = false | ||
|
||
[[Repls]] | ||
# The keys are unsorted and also vary per OS | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Cloud = false |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# We run this test only locally for now because we need to figure out how to do | ||
# bundle destroy on script.cleanup first. | ||
LocalOnly = true | ||
Cloud = false | ||
|
||
RecordRequests = true |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# We run this test only locally for now because we need to figure out how to do | ||
# bundle destroy on script.cleanup first. | ||
LocalOnly = true | ||
Cloud = false | ||
|
||
RecordRequests = true |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
# Testing template machinery, by default there is no need to check against cloud. | ||
LocalOnly = true | ||
Cloud = false |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
# At the moment, there are many differences across different envs w.r.t to catalog use, node type and so on. | ||
LocalOnly = true | ||
Cloud = false |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Local = true | ||
Cloud = true |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# The tests here intend to test variable interpolation via "bundle validate". | ||
# Even though "bundle validate" does a few API calls, that's not the focus there. | ||
LocalOnly = true | ||
Cloud = false |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
LocalOnly = true | ||
RecordRequests = true | ||
|
||
[[Server]] | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
LocalOnly = true | ||
RecordRequests = true | ||
|
||
[[Server]] | ||
|
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
Local = true | ||
Cloud = true | ||
|
||
[[Repls]] | ||
Old = 'Read complete after [^\s]+' | ||
New = 'Read complete after (redacted)' |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Default settings that apply to all tests unless overriden by test.toml files in inner directories. | ||
Local = true | ||
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. Can you add a comment here that this is the global configuration for all tests and that tests are only run locally by default and not as integration tests? 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. added a comment |
||
Cloud = false |
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.
All these layers of override can be difficult to track. Could you add some functionality to see the resolved configuration for a test case or directory as a follow-up?
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.
I don't think there is an easy way, so you'll have to track those manually. For a given boolean option you only need to know the closest setting though, not the whole chain.