Skip to content

Commit 34eab57

Browse files
runefaHaroon FeisalStrawnSC
authored
Tests (dapr-components, env, ingress, traffic) (Azure#89)
* Added env tests. * Added ingress tests. * Added ingress traffic tests. * Fixed small issue. * Added remove test for dapr components. * Removed live_only from containerapp commands. Added recordings. * Removed live_only from env commands. * Removed sleep 60 since we use poll for delete anyways. * Wrote better dapr-component tests. Fixed old tests that required live only. * Added suppression for log analytics dummy secrets. * Rerecorded tests. * rerecord failing tests * Updated credscan. Co-authored-by: Haroon Feisal <[email protected]> Co-authored-by: Silas Strawn <[email protected]>
1 parent 0b15002 commit 34eab57

16 files changed

+35473
-19
lines changed

scripts/ci/credscan/CredScanSuppressions.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,23 @@
124124
"src\\aks-preview\\azext_aks_preview\\tests\\latest\\data\\setup_proxy.sh"
125125
],
126126
"_justification": "Dummy self-signed certificate + private key used for testing only."
127+
},
128+
{
129+
"file": [
130+
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_container_acr.yaml",
131+
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_e2e.yaml",
132+
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_env_dapr_components.yaml",
133+
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_env_e2e.yaml",
134+
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_env_storage.yaml",
135+
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_identity_e2e.yaml",
136+
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_identity_system.yaml",
137+
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_identity_user.yaml",
138+
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_ingress_e2e.yaml",
139+
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_ingress_traffic_e2e.yaml",
140+
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_logstream.yaml",
141+
"src\\containerapp\\azext_containerapp\\tests\\latest\\recordings\\test_containerapp_update.yaml"
142+
],
143+
"_justification": "Dummy resources' keys left during testing Micorosfot.App (required for log-analytics to create managedEnvironments)"
127144
}
128145
]
129146
}

src/containerapp/azext_containerapp/tests/latest/recordings/test_container_acr.yaml

Lines changed: 3312 additions & 0 deletions
Large diffs are not rendered by default.

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_e2e.yaml

Lines changed: 3272 additions & 0 deletions
Large diffs are not rendered by default.

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_env_dapr_components.yaml

Lines changed: 1817 additions & 0 deletions
Large diffs are not rendered by default.

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_env_e2e.yaml

Lines changed: 1789 additions & 0 deletions
Large diffs are not rendered by default.

src/containerapp/azext_containerapp/tests/latest/recordings/test_containerapp_env_storage.yaml

Lines changed: 2126 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)