-
Notifications
You must be signed in to change notification settings - Fork 680
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
[v2.3.2] Don't retry tests at the GHA level #4281
Commits on Jun 14, 2022
-
pkg/k8s: Skip notoriously flakey test
Signed-off-by: Luke Shumaker <lukeshu@datawire.io>
Configuration menu - View commit details
-
Copy full SHA for fed36ff - Browse repository at this point
Copy the full SHA fed36ffView commit details -
Besides test retries being bad (they're there for the case that the test intermittently flakes, but mask the case that the code-under-test only intermittently works), this is important in order to remove the `nick-invision/retry@v2.4.0` GitHub action. It has a bug where if there is too much output it marks the test as passing even if it fails. That is very bad, and we cannot permit that type of failure mode in our CI. nick-fields/retry#76 Signed-off-by: Luke Shumaker <lukeshu@datawire.io>
Configuration menu - View commit details
-
Copy full SHA for 8816ab9 - Browse repository at this point
Copy the full SHA 8816ab9View commit details
Commits on Jun 15, 2022
-
fetcher.py: fix parse_watt to handle missing annotations
fetcher.py's parse_watt() calls `watt_k8s.pop('annotations') or {}` to pluck the annotations out of the watt snapshot. Because the `pop` call does not include a default this causes it to throw a KeyError when `annotations` doesn't exist. This isn't an issue in normal use, as `pkg/snapshot/v1/types.go` doesn't say `,omitempty` on that field, so it will always be present. However this does cause a problem for many of the unit tests, which don't set that field. So, move the default value to inside of the call to `pop`. Signed-off-by: Lance Austin <laustin@datawire.io> Signed-off-by: Luke Shumaker <lukeshu@datawire.io>
Configuration menu - View commit details
-
Copy full SHA for a57c235 - Browse repository at this point
Copy the full SHA a57c235View commit details -
test_cache.py: Fix test_mappings_same_name_delta
The test YAML parser doesn't need to be told about Namespaces; and indeed it chokes on them because they don't have a `.metadata.namespace`. Also, you can't multi-assign from a bool. Signed-off-by: Luke Shumaker <lukeshu@datawire.io>
Configuration menu - View commit details
-
Copy full SHA for afb3c15 - Browse repository at this point
Copy the full SHA afb3c15View commit details -
Move the annotation Python unit test to be a pkg/snapshot Go unit test
Remove the Python unit test for testing annotation parsing because it is already being tested in `pkg/snapshot/v1/annotations_test.go`. However, the Go version is missing tests for the following use cases: - "getambassador.io/config" annotation is empty - "getambassador.io/config" is empty missing So add those 2 cases to the Go test. Signed-off-by: Lance Austin <laustin@datawire.io> Signed-off-by: Luke Shumaker <lukeshu@datawire.io>
Configuration menu - View commit details
-
Copy full SHA for 48816b1 - Browse repository at this point
Copy the full SHA 48816b1View commit details -
test_acme_privatekey_secrets.py: Fix the test
Fixes: 417a831 Signed-off-by: Luke Shumaker <lukeshu@datawire.io>
Configuration menu - View commit details
-
Copy full SHA for 61cca47 - Browse repository at this point
Copy the full SHA 61cca47View commit details -
test_host_redirect_errors.py: Improve a comment
Make it clear that "XXX" in this case means that something is wrong. Signed-off-by: Luke Shumaker <lukeshu@datawire.io>
Configuration menu - View commit details
-
Copy full SHA for a1810d6 - Browse repository at this point
Copy the full SHA a1810d6View commit details