diff options
| author | Paul Buetow <paul@buetow.org> | 2025-06-18 15:29:20 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-06-18 15:29:20 +0300 |
| commit | d1178fcd097e776a019020fd4b62345f06d413db (patch) | |
| tree | ae208404a7f444af91c95109f1144b71e09976d7 /integrationtests/small_dmap3.csv.query.expected | |
| parent | c954d04ffab6f221868437efb63d48b1469630d4 (diff) | |
Add comprehensive server-based testing for DGrep functionality
Implement dual-mode testing infrastructure for all DGrep integration tests:
- Update TestDGrep1, TestDGrep2, TestDGrepContext1, TestDGrepContext2 to run in both serverless and server modes
- Create dgrep_server_helpers.go with server-based testing utilities including DTail protocol parsing
- Add small test data files to work within server channel buffer limitations:
- small_mapr_testdata.log (16 lines from original mapr_testdata.log)
- Expected output files for all DGrep test variants in server mode
- All tests now establish SSH connections between dgrep client and dserver binary when in server mode
- Maintain backward compatibility with existing serverless test functionality
Tests verified passing in both modes:
- TestDGrep1: Basic grep functionality with pattern "1002-071947"
- TestDGrep2: Inverted grep with --invert flag
- TestDGrepContext1: Context-aware grep with --before/--after flags
- TestDGrepContext2: Limited output grep with --max flag
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'integrationtests/small_dmap3.csv.query.expected')
0 files changed, 0 insertions, 0 deletions
