-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem
When running integration tests with the Medium template, the activity reports 1,001 total objects instead of the expected 1,100 objects.
Expected vs Actual
- Expected: 1,000 users + 100 groups = 1,100 total objects
- Actual: 1,001 total objects (indicates only 1 user or group is being created in addition to... something)
Documentation
The INTEGRATION_TESTING.md file (lines 369-370) specifies:
| **Medium** | 1,000 | 100 | 8 | 1,100 | Medium enterprise, CI/CD | < 2 min |
Root Cause
Need to investigate:
- Is the group creation loop in
Populate-SambaAD.ps1failing silently? - Are groups being created in AD but not being counted in the results?
- Is the CSV generation for users off-by-one (generating 1,001 instead of 1,000)?
Test Data
- Template: Medium
- Current result: 1,001 objects (1,000 users + 1 group?)
- Expected result: 1,100 objects (1,000 users + 100 groups)
- Discrepancy: 99 objects missing (likely 99 missing groups)
Impact
Integration test data scale templates are not matching documented specifications. This affects:
- Performance baseline measurements
- CI/CD pipeline resource consumption
- Test result consistency across runs
To Reproduce
- Run integration tests with Medium template
- Complete the Joiner step
- Check Activity results page
- Observe "TOTAL OBJECTS" count is 1,001 instead of 1,100
Related Files
test/integration/Populate-SambaAD.ps1- Group creation looptest/integration/Generate-TestCSV.ps1- CSV user generationtest/integration/utils/Test-Helpers.ps1- Template scale definitionsdocs/INTEGRATION_TESTING.md- Template specifications (line 369)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working