From 21ed0fb42da823dbe22ef9ca130d96de5aa0d73a Mon Sep 17 00:00:00 2001 From: Noah Stride Date: Fri, 3 Jan 2025 11:31:14 +0000 Subject: [PATCH] Explain test better --- .../machineid/workloadidentityv1/workloadidentityv1_test.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/auth/machineid/workloadidentityv1/workloadidentityv1_test.go b/lib/auth/machineid/workloadidentityv1/workloadidentityv1_test.go index 63e05daa9e759..b3f68504c9c1d 100644 --- a/lib/auth/machineid/workloadidentityv1/workloadidentityv1_test.go +++ b/lib/auth/machineid/workloadidentityv1/workloadidentityv1_test.go @@ -147,8 +147,10 @@ func newIssuanceTestPack(t *testing.T, ctx context.Context) *issuanceTestPack { } } -// TODO(strideynet): In a later PR, this test will be moved to `tbot` itself -// to assert the functionality over the full stack. +// TestIssueWorkloadIdentityE2E performs a more E2E test than the RPC specific +// tests in this package. The idea is to validate that the various Auth Server +// APIs necessary for a bot to join and then issue a workload identity are +// functioning correctly. func TestIssueWorkloadIdentityE2E(t *testing.T) { experimentStatus := experiment.Enabled() defer experiment.SetEnabled(experimentStatus)