Dynatrace / dynatrace-configuration-as-code

This tool automates deployment of Dynatrace Configuration to one or multiple Dynatrace environments.
https://docs.dynatrace.com/docs/manage/configuration-as-code/monaco
Apache License 2.0
164 stars 94 forks source link

chore: fix e2e test for support archive #1491

Closed warber closed 5 months ago

warber commented 5 months ago

WIth #1490 , saving the supprot archive was moved to a later point in execution. However in the e2e test checking for the presence of a support-archive we execute monaco by calling BuildCli directly (as with all our e2e test). So the call to write the support archive never happens. Hence the test fails.

github-actions[bot] commented 5 months ago

Unit Test Results

1 841 tests  ±0   1 841 :white_check_mark: ±0   27s :stopwatch: -1s   130 suites ±0       0 :zzz: ±0      1 files   ±0       0 :x: ±0 

Results for commit 43508967. ± Comparison against base commit 5c392f0e.

:recycle: This comment has been updated with latest results.

github-actions[bot] commented 5 months ago

E2E Test Results

    4 files   -  1    262 suites   - 130   27m 54s :stopwatch: - 24m 52s 1 951 tests +12  1 950 :white_check_mark: + 13  1 :zzz: ±0  0 :x:  - 1  2 039 runs   - 76  2 038 :white_check_mark:  -  75  1 :zzz: ±0  0 :x:  - 1 

Results for commit 43508967. ± Comparison against base commit 5c392f0e.

This pull request removes 2 and adds 14 tests. Note that renamed tests count towards both. ``` github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestPaginationClassic github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestPaginationPlatform ``` ``` github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Account_deploy_should_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Account_download_should_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Deploy_should_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Download_should_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Help_should_not_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Incomplete_account_should_not_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Incomplete_deploy_should_not_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/Version_should_not_log_version github.com/dynatrace/dynatrace-configuration-as-code/v2/cmd/monaco/integrationtest/v2 ‑ TestMonacoVersionLogging/With_no_args_no_version_should_be_logged … ```

:recycle: This comment has been updated with latest results.

sonarcloud[bot] commented 5 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud