summaryrefslogtreecommitdiff
path: root/integrationtests/small_dmap4.csv.query.expected
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-06-18 19:33:42 +0300
committerPaul Buetow <paul@buetow.org>2025-06-18 19:33:42 +0300
commit9775b0696b01a1aa6086fa02ca601214bb180ff7 (patch)
tree2bcba9a16e7beed76dad9a4be8ec20744a62abd3 /integrationtests/small_dmap4.csv.query.expected
parentd1178fcd097e776a019020fd4b62345f06d413db (diff)
Add comprehensive server-based testing for DMap functionality
Implement dual-mode testing infrastructure for all DMap integration tests: - Update TestDMap1, TestDMap2, TestDMap3, TestDMap4Append, TestDMap5CSV to run in both serverless and server modes - Create dmap_server_helpers.go with server-based testing utilities and SSH connection management - Add small test data files to work within server channel buffer limitations: - small_mapr_testdata.log (16 lines from original mapr_testdata.log) - small_dmap5.csv.in (reduced CSV input for DMap5 testing) - Expected output files for all DMap test variants in server mode - All tests now establish SSH connections between dmap client and dserver binary when in server mode - Maintain backward compatibility with existing serverless test functionality Tests verified passing in both modes: - TestDMap1: MapReduce query variations with different WHERE clauses and SET operations - TestDMap2: Ordered aggregation queries with GROUP BY and ORDER BY - TestDMap3: Multiple file processing with reduced file count for server mode - TestDMap4Append: File append functionality with multiple runs - TestDMap5CSV: CSV format input/output processing with custom aggregations Technical improvements: - Consistent file naming between server and serverless modes to avoid path conflicts - Proper SSH trust handling with --trustAllHosts flag - Multiple server helper functions for single-run and multi-run scenarios - Intelligent file comparison selection (compareFiles vs compareFilesContents) 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Diffstat (limited to 'integrationtests/small_dmap4.csv.query.expected')
-rw-r--r--integrationtests/small_dmap4.csv.query.expected1
1 files changed, 1 insertions, 0 deletions
diff --git a/integrationtests/small_dmap4.csv.query.expected b/integrationtests/small_dmap4.csv.query.expected
new file mode 100644
index 0000000..980854e
--- /dev/null
+++ b/integrationtests/small_dmap4.csv.query.expected
@@ -0,0 +1 @@
+from STATS select count($time),$time,max($goroutines),avg($goroutines),min($goroutines) group by $time order by count($time) outfile append small_dmap4.csv.tmp \ No newline at end of file