Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CERTInext.IntegrationTests/INTEGRATION_TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ matching flag in your shell. These flags are deliberately **not** read from `~/.
| `CERTINEXT_V2_RUN_BULK_TEST=1` | `V2DcvLifecycleTests.BulkV2Enrollment_AllOrdersIssue_AndPaginationWorks` (also needs Cloudflare); tune with `CERTINEXT_V2_BULK_TEST_COUNT` and `CERTINEXT_V2_BULK_TEST_PARALLEL` |
| `CERTINEXT_V2_LIFECYCLE_DV_UCC=1`, `_OV=1`, `_OV_UCC=1`, `_EV=1`, `_WILDCARD_DV=1`, `_RENEW_REISSUE=1` | The matching `V2FullLifecycleTests` method; the OV and OV UCC tests also need `CERTINEXT_ORG_NUMBER`, and the EV test needs its own pre-vetted `CERTINEXT_EV_ORG_NUMBER` |
| `CERTINEXT_V2_LIFECYCLE_FRESH_DCV=1` | `V2FreshDomainDcvLifecycleTests` (also needs Cloudflare and `CERTINEXT_V2_FRESH_DCV_PARENT`, the parent domain that fresh subdomains are created under) |
| `CERTINEXT_ALT_ENV_ENROLL=1` | `V2AltEnvEnrollTests` order-placing tests, against the account in `CERTINEXT_ALT_ENV_FILE` (a separate env file, not `~/.env_certinext[_v2]`). Also needs `CERTINEXT_ALT_ENV_DOMAIN`; optional `CERTINEXT_ALT_ENV_WILDCARD=1`, `CERTINEXT_ALT_ENV_EXTRA_SANS` (UCC), `CERTINEXT_ALT_ENV_VARIANT=ov|ev` with `CERTINEXT_ALT_ENV_ORG_NUMBER` (direct API test only), `CERTINEXT_ALT_ENV_GROUP_NUMBER` / `CERTINEXT_ALT_ENV_OMIT_GROUP=1`, `CERTINEXT_ALT_ENV_PRODUCT_CODE`, `CERTINEXT_ALT_ENV_ORDER_ID`. Orders are not revoked. The catalog and groups probes need only `CERTINEXT_ALT_ENV_FILE`; the read-only incremental-sync test also needs `CERTINEXT_ALT_ENV_SYNC_ORDER_IDS` (comma-separated issued orders; optional `CERTINEXT_ALT_ENV_SYNC_LAST_HOURS`, default 1) |
| `CERTINEXT_V2_INLINE_CSR=0` | Not a test gate: runs the V2 enrollment tests (`V2LifecycleTests`, `V2FullLifecycleTests`, `V2DcvLifecycleTests`, `V2FreshDomainDcvLifecycleTests`, `PrivatePkiV2LiveTests`) with the `V2InlineCsr` connector setting off (SSL/TLS two-call: create, then submit CSR). Unset runs the default single-call flow; run the suite once in each mode. Private PKI stays two-call either way |
| `CERTINEXT_PRIVATE_PKI_LIVE=1` | `PrivatePkiV2LiveTests.PrivatePki_V2_EnrollIntranetSsl_ThenRevoke_Live`; override the product code and CN with `CERTINEXT_PRIVATE_PKI_PRODUCT_CODE` and `CERTINEXT_PRIVATE_PKI_CN`, the variant with `CERTINEXT_PRIVATE_PKI_VARIANT`, and set `CERTINEXT_PRIVATE_PKI_LEAVE_PENDING=1` (process env) to leave an unissued order pending for manual approval |
| `CERTINEXT_V2_OPS_TESTS=1` | `V2OrderWindowSweepTests` — see below |
Expand Down
2 changes: 2 additions & 0 deletions CERTInext.IntegrationTests/IntegrationTestFixture.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ public sealed class IntegrationTestFixture : IDisposable
"CERTINEXT_V2_LIFECYCLE_WILDCARD_DV",
"CERTINEXT_V2_LIFECYCLE_RENEW_REISSUE",
"CERTINEXT_V2_LIFECYCLE_FRESH_DCV",
// V2AltEnvEnrollTests: places real orders on the account in CERTINEXT_ALT_ENV_FILE.
"CERTINEXT_ALT_ENV_ENROLL",
// Selects the V2InlineCsr connector setting for the V2 enrollment tests (see V2EnvHelper).
"CERTINEXT_V2_INLINE_CSR",
// Issue 0090 V2 place-order latency experiment (places real sandbox orders).
Expand Down
1 change: 1 addition & 0 deletions CERTInext.IntegrationTests/TESTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ only. `PrivatePki_V2_*`, the validity/latency/inline-CSR experiments, and the re
| `V2DcvLifecycleTests` | `DcvEnroll_V2_CompletesWithoutThrowing`, `EnrollWithoutDcv_V2_DoesNotInvokeDnsProvider`, `GetSingleRecord_V2_DrivesDcvForPendingOrder`, `EnrollWithDcvOn_V2_OrderIssuedEndToEnd_AndAppearsInSync` | The V2 counterparts of the V1 DCV tests (`CERTINEXT_V2_PENDING_ORDER_ID` for the single-record one) |
| | `EnrollWithDcvOn_V2_IssuesPerKeyAlgorithm` | **Opt-in** (`CERTINEXT_V2_ALGO_MATRIX`) |
| | `BulkV2Enrollment_AllOrdersIssue_AndPaginationWorks` | **Opt-in** (`CERTINEXT_V2_RUN_BULK_TEST`) |
| `V2AltEnvEnrollTests` | `ListCatalog_FromAltEnvFile`, `Raw_ListIdentityAndGroups_FromAltEnvFile`, `Raw_PlaceSslOrder_FromAltEnvFile`, `Enroll_V2_Dv_FromAltEnvFile_Issues`, `Sync_V2_Incremental_FromAltEnvFile_ReturnsIssuedCertificates` | Read-only probes need `CERTINEXT_ALT_ENV_FILE` (the sync test also `CERTINEXT_ALT_ENV_SYNC_ORDER_IDS`); the order tests are **opt-in** (`CERTINEXT_ALT_ENV_ENROLL`). DV enrollment (single name, UCC, wildcard) against the account in a separate env file, through the plugin and through a direct API call (which can also place OV/EV), and an incremental sync check; orders are left issued |
| `V2FreshDomainDcvLifecycleTests` | `EnrollWithDcvOn_V2_FreshUnverifiedSubdomain_StagesAndCleansUpTxt`, `EnrollWithDcvOn_V2_WildcardFreshSubdomain_RecordsTxtHostnameAndCleansUp` | **Opt-in** (`CERTINEXT_V2_LIFECYCLE_FRESH_DCV`). DCV against a never-validated subdomain, and against a wildcard on one: the TXT record is staged at the expected hostname and removed afterward |
| `V2FullLifecycleTests` | `Enroll_V2_DvUcc_WithMultipleSans_FullLifecycle`, `Enroll_V2_Ov_FullLifecycle`, `Enroll_V2_OvUcc_WithMultipleSans_FullLifecycle`, `Enroll_V2_Ev_FullLifecycle`, `Enroll_V2_WildcardDv_WildcardOnly_FullLifecycle`, `Enroll_V2_WildcardDv_WildcardPlusApexSan_RecordsActualBehavior`, `EnrollRenewReissue_V2_IssuedDvOrder_RecordsActualBehavior` | **Opt-in** (one `CERTINEXT_V2_LIFECYCLE_*` flag per product, see [INTEGRATION_TESTING.md](INTEGRATION_TESTING.md#opt-in-flags)). Each enrolls, waits, synchronizes, and cleans up its order |
| `PrivatePkiV2LiveTests` | `PrivatePki_V2_EnrollIntranetSsl_ThenRevoke_Live` | **Opt-in** (`CERTINEXT_PRIVATE_PKI_LIVE`). Enrolls a Private PKI Intranet SSL order with DNS and IP SANs, checks the issued SANs, and revokes it. Needs a Private PKI entitlement. Always two-call (create, then `PUT .../csr`): the sandbox rejects an inline CSR on Private PKI create with HTTP 422. The order parks at `pending-approval` and is cancelled, so the test reports it as inconclusive on this sandbox |
Expand Down
Loading
Loading