summaryrefslogtreecommitdiff
path: root/integrationtests/dgrep_test.go
AgeCommit message (Collapse)Author
2026-03-13Harden integration server startup checksPaul Buetow
2025-06-25Add comprehensive test logging infrastructure to integration testsPaul Buetow
- Add test logging infrastructure to track command execution and file comparisons - Generate .log files for each test with command history and manual verification commands - Ensure all temporary test files use .tmp suffix for consistency - Clean up .tmp files before each test run (not after) for clean test starts - Update .gitignore to exclude generated test artifacts (.log, .query files) - Fix dserver test configurations to use .tmp suffix for output files - Fix expected test outputs for dgrep context tests This change improves test debugging and verification by providing detailed logs of what each test does and allows manual verification of test results. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-24Improve integration tests with colored output testsPaul Buetow
- Removed commented server mode code from TestDGrepStdin (stdin doesn't make sense with server mode) - Added TestDCat1Colors to test colored output in both serverless and server modes - Added TestDGrep1Colors to test colored output in both serverless and server modes - Fixed server metadata detection in colored output tests (look for "REMOTE" or "SERVER" without pipe) - Note: DMap colored output test was attempted but removed as DMap writes to CSV files, not stdout All integration tests now pass successfully. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-24Fix fmt.Errorf non-constant format string errors in multiple packagesPaul Buetow
- Fixed fmt.Errorf calls in integrationtests/fileutils.go - Fixed fmt.Errorf calls in integrationtests-old/fileutils.go - Fixed fmt.Errorf calls in internal/color/color.go - Fixed t.Errorf call in internal/mapr/logformat/default_test.go All tests now pass with Go 1.24's stricter format string requirements. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-24Add server mode tests to dgrep integration testsPaul Buetow
- Update all dgrep tests (TestDGrep1, TestDGrep2, TestDGrepContext1, TestDGrepContext2) to run in both serverless and server modes - Follow same pattern as dcat and dmap tests with separate serverless/server functions - All dgrep tests now pass in both execution modes - Added necessary imports (fmt, time) for server setup 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
2021-12-21adjust integration tests to reflect the last datetime string changePaul Buetow
2021-11-02Refactor integration tests. Also fix the dmap1 PIPE testPaul Buetow
2021-10-31rename spartan mode to plain modePaul Buetow
2021-10-29Dont use relaxed SSH Auth mode anymore for integration testsPaul Buetow
2021-10-24integration tests use a different known_hosts path and also dont read any ↵Paul Buetow
external config files
2021-10-19Set DTAIL_RUN_INTEGRATIONT_TEST to yes for integration testsPaul Buetow
2021-10-14add dgrep context integration testsPaul Buetow
2021-10-13add another dcat integration test - catting 100 files at oncePaul Buetow
2021-10-11refactorPaul Buetow
2021-10-10vetting and linting and some code restylingPaul Buetow
2021-10-10add dtail health check unit test.Paul Buetow
2021-10-03add dmap testsPaul Buetow
2021-10-02add dgrep testPaul Buetow