You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-arc/data/automated-integration-testing.md
+52Lines changed: 52 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -424,6 +424,58 @@ At a high-level, the launcher performs the following sequence of steps:
424
424
12. Attempt to use the SAS token `LOGS_STORAGE_ACCOUNT_SAS` provided to create a new Storage Account container named based on `LOGS_STORAGE_CONTAINER`, in the **pre-existing** Storage Account `LOGS_STORAGE_ACCOUNT`. If Storage Account container already exists, use it. Upload all local test results and logs to this storage container as a tarball (see below).
425
425
13. Exit.
426
426
427
+
## Tests performed per test suite
428
+
429
+
There are approximately **375** unique integration tests available, across **27** test suites - each testing a separate functionality.
430
+
431
+
| Suite # | Test suite name | Description of test |
| 23 | `telemetry-kafka` | Various tests for Kafka using SSL, single/multi-broker setup. |
456
+
| 24 | `telemetry-monitorstack` | Tests Monitoring components, such as `Fluentbit` and `Collectd` are functional. |
457
+
| 25 | `telemetry-telemetryrouter` | Tests Open Telemetry. |
458
+
| 26 | `telemetry-webhook` | Tests Data Services Webhooks with valid and invalid calls. |
459
+
| 27 | `upgrade-arcdata` | Upgrades a full suite of SQL Instances (GP, BC 2 replica, BC 3 replica, with Active Directory) and upgrades from last month's release to latest build. |
460
+
461
+
As an example, for`sqlinstance-ha`, the following tests are performed:
462
+
463
+
- `test_critical_configmaps_present`: Ensures the ConfigMaps and relevant fields are present for a SQL Instance.
464
+
- `test_suspended_system_dbs_auto_heal_by_orchestrator`: Ensures if`master` and `msdb` are suspended by any means (in this case, user). Orchestrator maintenance reconcile auto-heals it.
465
+
- `test_suspended_user_db_does_not_auto_heal_by_orchestrator`: Ensures if a User Database is deliberately suspended by user, Orchestrator maintenance reconcile does not auto-heal it.
466
+
- `test_delete_active_orchestrator_twice_and_delete_primary_pod`: Deletes orchestrator pod multiple times, followed by the primary replica, and verifies all replicas are synchronized. Failover time expectations for 2 replica are relaxed.
467
+
- `test_delete_primary_pod`: Deletes primary replica and verifies all replicas are synchronized. Failover time expectations for 2 replica are relaxed.
468
+
- `test_delete_primary_and_orchestrator_pod`: Deletes primary replica and orchestrator pod and verifies all replicas are synchronized.
469
+
- `test_delete_primary_and_controller`: Deletes primary replica and data controller pod and verifies primary endpoint is accessible and the new primary replica is synchronized. Failover time expectations for 2 replica are relaxed.
470
+
- `test_delete_one_secondary_pod`: Deletes secondary replica and data controller pod and verifies all replicas are synchronized.
471
+
- `test_delete_two_secondaries_pods`: Deletes secondary replicas and data controller pod and verifies all replicas are synchronized.
- `test_failaway`: Forces AG failover away from current primary, ensures the new primary is not the same as the old primary. Verifies all replicas are synchronized.
474
+
- `test_update_while_rebooting_all_non_primary_replicas`: Tests Controller-driven updates are resilient with retries despite various turbulent circumstances.
475
+
476
+
> [!NOTE]
477
+
> Certain tests may require specific hardware, such as privileged Access to Domain Controllers for`ad` tests for Account and DNS entry creation - which may not be availablein all environments looking to use the `arc-ci-launcher`.
478
+
427
479
## Examining Test Results
428
480
429
481
A sample storage container and file uploaded by the launcher:
0 commit comments