-
-
Save bentito/9fbf0d81354caa52121f5c4e294bd506 to your computer and use it in GitHub Desktop.
Durations timing from TestClient calls in catalogmetadata in operator-controller
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/btofel/.gvm/pkgsets/go1.21.2/global/pkg/mod/golang.org/toolchain@v0.0.1-go1.22.2.darwin-arm64/bin/go tool test2json -t /Users/btofel/Library/Caches/JetBrains/IntelliJIdea2024.1/tmp/GoLand/___1TestClient_in_github_com_operator_framework_operator_controller_internal_catalogmetadata_client.test -test.v -test.paniconexit0 -test.run ^\QTestClient\E$ | |
=== RUN TestClient | |
=== RUN TestClient/Bundles | |
=== RUN TestClient/Bundles/valid_catalog | |
2024/06/10 08:54:11 Success: Duration: 348.542µs, Return Point: 9 | |
2024/06/10 08:54:11 Function github.com/operator-framework/operator-controller/internal/catalogmetadata/client.(*Client).Bundles took 452µs | |
=== RUN TestClient/Bundles/cache_error | |
2024/06/10 08:54:11 Error: mock cache error, Duration: 32.541µs, Return Point: 2 | |
2024/06/10 08:54:11 Function github.com/operator-framework/operator-controller/internal/catalogmetadata/client.(*Client).Bundles took 35.791µs | |
=== RUN TestClient/Bundles/channel_has_a_ref_to_a_missing_bundle | |
2024/06/10 08:54:11 Error: bundle "fake1.v9.9.9" not found in catalog "catalog-1" (package "fake1", channel "channel-with-missing-bundle"), Duration: 66.708µs, Return Point: 8 | |
2024/06/10 08:54:11 Function github.com/operator-framework/operator-controller/internal/catalogmetadata/client.(*Client).Bundles took 68.875µs | |
=== RUN TestClient/Bundles/invalid_meta | |
2024/06/10 08:54:11 Error: expected value for key "name" to be a string, got %!t(float64=1.23123123e+08): 1.23123123e+08, Duration: 67.875µs, Return Point: 3 | |
2024/06/10 08:54:11 Error: error was provided to the WalkMetasReaderFunc: expected value for key "name" to be a string, got %!t(float64=1.23123123e+08): 1.23123123e+08, Duration: 70.666µs, Return Point: 7 | |
2024/06/10 08:54:11 Function github.com/operator-framework/operator-controller/internal/catalogmetadata/client.(*Client).Bundles took 71.875µs | |
=== RUN TestClient/Bundles/invalid_bundle | |
2024/06/10 08:54:11 Error: json: cannot unmarshal number into Go struct field Bundle.image of type string, Duration: 57.792µs, Return Point: 5 | |
2024/06/10 08:54:11 Error: error unmarshalling bundle from catalog metadata: json: cannot unmarshal number into Go struct field Bundle.image of type string, Duration: 61µs, Return Point: 7 | |
2024/06/10 08:54:11 Function github.com/operator-framework/operator-controller/internal/catalogmetadata/client.(*Client).Bundles took 62.042µs | |
=== RUN TestClient/Bundles/invalid_channel | |
2024/06/10 08:54:11 Error: json: cannot unmarshal number into Go struct field ChannelEntry.entries.name of type string, Duration: 49.791µs, Return Point: 4 | |
2024/06/10 08:54:11 Error: error unmarshalling channel from catalog metadata: json: cannot unmarshal number into Go struct field ChannelEntry.entries.name of type string, Duration: 51.875µs, Return Point: 7 | |
2024/06/10 08:54:11 Function github.com/operator-framework/operator-controller/internal/catalogmetadata/client.(*Client).Bundles took 52.791µs | |
=== RUN TestClient/Bundles/skip_catalog_missing_Unpacked_status_condition | |
2024/06/10 08:54:11 Success: Duration: 66.792µs, Return Point: 9 | |
2024/06/10 08:54:11 Function github.com/operator-framework/operator-controller/internal/catalogmetadata/client.(*Client).Bundles took 68.125µs | |
=== RUN TestClient/Bundles/deprecated_at_the_package,_channel,_and_bundle_level | |
2024/06/10 08:54:11 Success: Duration: 124.5µs, Return Point: 9 | |
2024/06/10 08:54:11 Function github.com/operator-framework/operator-controller/internal/catalogmetadata/client.(*Client).Bundles took 125.833µs | |
--- PASS: TestClient (0.00s) | |
--- PASS: TestClient/Bundles (0.00s) | |
--- PASS: TestClient/Bundles/valid_catalog (0.00s) | |
--- PASS: TestClient/Bundles/cache_error (0.00s) | |
--- PASS: TestClient/Bundles/channel_has_a_ref_to_a_missing_bundle (0.00s) | |
--- PASS: TestClient/Bundles/invalid_meta (0.00s) | |
--- PASS: TestClient/Bundles/invalid_bundle (0.00s) | |
--- PASS: TestClient/Bundles/invalid_channel (0.00s) | |
--- PASS: TestClient/Bundles/skip_catalog_missing_Unpacked_status_condition (0.00s) | |
--- PASS: TestClient/Bundles/deprecated_at_the_package,_channel,_and_bundle_level (0.00s) | |
PASS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment