Commit Graph

3929 Commits (cc32f0801993093ca4f0b08e7de2c7ef9450d1e9)

Author SHA1 Message Date
Philip O'Toole 87bd21d204 Allow integration tests to specify query 2015-02-09 19:46:01 -08:00
Philip O'Toole cdeab14201 Pretty up test JSON for cluster testing 2015-02-09 19:42:56 -08:00
Philip O'Toole 8bbdfd237a Break out write and query 2015-02-09 19:38:06 -08:00
Cory LaNou c866f57473 rebasing can suck sometimes 2015-02-09 20:04:19 -07:00
Cory LaNou df7e8e3add removing comments, test back to original state 2015-02-09 20:01:14 -07:00
Cory LaNou c83de8695a simplify test 2015-02-09 20:01:14 -07:00
Cory LaNou 86969a1fe8 add a test that better covers select * 2015-02-09 20:01:14 -07:00
Cory LaNou 82ae461378 defend against select *,value 2015-02-09 19:59:13 -07:00
Cory LaNou 62df7152c6 wildcards are now supported 2015-02-09 19:59:13 -07:00
Cory LaNou 8a1bb5922c added wildcard query functionality. fixes #1432 2015-02-09 19:59:13 -07:00
Cory LaNou 804b426068 removing obsolete code 2015-02-09 19:58:11 -07:00
Todd Persen cec1858a87 Merge pull request #1531 from influxdb/panic-on-null-field
Fix panic if a point doesn't have a value for a field.
2015-02-09 18:28:59 -08:00
Philip O'Toole 08f1fe882b Merge pull request #1546 from influxdb/more_integration_testing
Skip multi-node tests when '-short' passed
2015-02-09 18:21:29 -08:00
Philip O'Toole 221954fbdc nNodes is now redundant 2015-02-09 18:13:40 -08:00
Philip O'Toole de1122e133 Skip multi-node tests when '-short' passed 2015-02-09 18:09:32 -08:00
Philip O'Toole 4bd2f8ef65 Merge pull request #1545 from influxdb/more_integration_testing
Further integration testing
2015-02-09 18:07:38 -08:00
Philip O'Toole cb3a222cbd Rename integration test file
It now performs multi-node cluster testing.
2015-02-09 18:01:25 -08:00
Philip O'Toole a1953f225e Use new type for []nodes 2015-02-09 18:00:58 -08:00
Philip O'Toole e3110cee4e Add explicit leader flag 2015-02-09 17:59:19 -08:00
Philip O'Toole 567fd2bfef Pass around slices of nodes as cluster 2015-02-09 17:55:07 -08:00
Philip O'Toole 53866cc6ef Merge pull request #1544 from influxdb/more_integration_testing
More integration testing
2015-02-09 17:43:47 -08:00
Philip O'Toole 252286d035 Factor out database and retention policy creation 2015-02-09 17:37:17 -08:00
Todd Persen 57610f715f Merge pull request #1543 from influxdb/fix-SHOW-parse-error-message
Add missing valid statements for SHOW
2015-02-09 17:29:40 -08:00
Mark Rushakoff 2e4b9d8b3b Add missing valid statements for SHOW
And alphabetize the order.
2015-02-09 17:06:18 -08:00
Todd Persen 0d741501e8 Merge pull request #1541 from influxdb/fix-silent-shell-failure
Return top level error for results
2015-02-09 17:05:19 -08:00
Philip O'Toole 235e3e6a07 Merge pull request #1539 from influxdb/more_integration_testing
Add simple 3- and 5-node integration testing
2015-02-09 16:59:58 -08:00
Cory LaNou bc46d590dd return top level error for results 2015-02-09 17:58:30 -07:00
Philip O'Toole 81855662c3 Use different port ranges for each cluster
Long-term we need to expose methods on the top-level object such that
the TCP listeners used by the HTTP handlers can be shut down.
2015-02-09 16:39:15 -08:00
Philip O'Toole 0b349baaac Return both broker and server from call to run() 2015-02-09 16:35:28 -08:00
Philip O'Toole 76d732f5ff Remove unneeded delay between node joins 2015-02-09 16:28:29 -08:00
Philip O'Toole 01379651f8 Scale wait times as node number increases 2015-02-09 15:55:18 -08:00
Philip O'Toole d888b41a44 Add simple 5-node test 2015-02-09 15:46:55 -08:00
Philip O'Toole 0aefa3e708 Wait longer for write data to be commited 2015-02-09 15:42:07 -08:00
Philip O'Toole 053d69e7d5 Add 3-node cluster test 2015-02-09 15:40:21 -08:00
Philip O'Toole 29a643a1ce Factor out simple write-and-query test 2015-02-09 15:27:59 -08:00
Philip O'Toole 3cbed350b3 Factor out cluster creation 2015-02-09 15:16:25 -08:00
Philip O'Toole 452d086770 Merge pull request #1538 from influxdb/more_integration_testing
More integration testing
2015-02-09 15:00:16 -08:00
Philip O'Toole a35cb9703c Panic if any test takes on longer 60s on Travis 2015-02-09 14:43:07 -08:00
Philip O'Toole a27220a2a3 Do not create a custom HTTP client 2015-02-09 14:43:04 -08:00
Todd Persen 632461e206 Merge pull request #1537 from influxdb/wildcard-panic
Fail faster on not-yet-implemented wildcard query
2015-02-09 13:45:50 -08:00
Andrew Watkins 6b68f53b10 Fail faster on not-yet-implemented wildcard query
Signed-off-by: Will Faurot <will@influxdb.com>
2015-02-09 14:37:52 -07:00
Philip O'Toole b3ed952eff Fix typo in response checking 2015-02-09 12:07:43 -08:00
Philip O'Toole 63fd0969fe Fix typo in testing log output 2015-02-09 11:36:27 -08:00
Ben Johnson 2aef4a794f Merge pull request #1534 from influxdb/gzip-option
Add optional gzip flag to handler
2015-02-09 10:49:46 -07:00
Ben Johnson 3cb275cb01 Add optional gzip flag to handler.
The previous routing gzipped all routes and overwrote the Content-Length
header. This header was needed for the metastore copy and caused it to
break clustering. This commit fixes this issue by adding a `gzipped` flag
to the `route` struct.
2015-02-09 10:23:11 -07:00
Paul Dix 3c26a3e91b Fix panic if a point doesn't have a value for a field.
Fixes #1530. Ensures that the series iterator doesn't yield points that don't have a value for the field that is being aggregated.
2015-02-09 03:39:42 -05:00
Paul Dix 712297cdb5 Merge pull request #1506 from influxdb/fix-select-where-time
Fix queries that have only time in their where clause
2015-02-08 02:05:03 -05:00
Cory LaNou 65c5a8ab29 Merge pull request #1527 from influxdb/pretty-print-error
allow pretty printing on http errors in query endpoint
2015-02-07 11:07:02 -07:00
Cory LaNou bcd9724ce0 allow pretty printing on http errors in query endpoint 2015-02-07 10:32:37 -07:00
Paul Dix c6e7a7f9ea Fix mapper to check if the iterator is EOF before calling the map function 2015-02-07 06:29:04 -05:00