Commit Graph

739 Commits (68fa1738392ba5b0a12db706a0fcc1d233900f2c)

Author SHA1 Message Date
Philip O'Toole fab9adb361 Hook in actual retention service 2015-06-04 17:02:22 -07:00
Cory LaNou 8d3f54172c wildcard and precision write integration tests 2015-06-04 12:58:03 -06:00
Cory LaNou 3f7cf15a8d not needed 2015-06-04 09:24:26 -06:00
Cory LaNou 08bec931c6 observe enabled flag when appending services 2015-06-04 09:24:08 -06:00
Renan Strauss 3b09a59540 Add UDP service back 2015-06-04 10:24:48 +02:00
Cory LaNou 90d8f37a08 some refactoring, mostly aggregation tests 2015-06-03 16:07:40 -06:00
Cory LaNou 212bbd067f move helpers to their own file 2015-06-03 13:44:10 -06:00
Cory LaNou 2dac41a619 fix one test that now works 2015-06-03 11:54:45 -06:00
Cory LaNou e6f0a2f3ab do not use the word `fail` in test messages 2015-06-03 11:22:59 -06:00
Cory LaNou 621e2dc2f3 more test coverage, minor test refactorings 2015-06-03 11:15:20 -06:00
Cory LaNou 5c52c4cda1 add ability to set logger for testing 2015-06-03 09:58:39 -06:00
Cory LaNou 1ab8d58bb2 and then there were table tests! 2015-06-02 20:24:53 -06:00
Cory LaNou ec749c836f Merge pull request #2742 from influxdb/integration-tests
Integration tests
2015-06-02 16:42:16 -06:00
Cory LaNou ab8701721a more integration testing 2015-06-02 16:03:13 -06:00
Jason Wilder 156e7df346 Rename PointsWrite.Store to TSDBStore
Matches MetaStore naming convention better.
2015-06-02 14:47:59 -06:00
Jason Wilder 3957e096f8 Remove ownerID from protobufs
Not needed since the node that processes the request is the owner.
2015-06-02 14:45:52 -06:00
Ben Johnson 44d38cb430 Merge branch 'master' into alpha1 2015-06-02 10:40:52 -06:00
Cory LaNou d962283ae6 adding some integration tests 2015-06-01 16:04:20 -06:00
Cory LaNou 3597565955 reading and writing yo! 2015-06-01 11:59:58 -06:00
Ben Johnson bf823d9887 Integrating cmd/influxd/run. 2015-05-30 14:06:36 -06:00
Ben Johnson c916256ac9 Rename cluster.Writer to cluster.ShardWriter. 2015-05-30 14:05:27 -06:00
Ben Johnson 8c8a55a737 Removed 'failed' from test suite. 2015-05-30 08:59:27 -06:00
Ben Johnson 233c63029b Refactor influxd.Main. 2015-05-30 08:49:49 -06:00
Ben Johnson 4872e6db7c Move services to subpackage. 2015-05-30 08:20:12 -06:00
Ben Johnson 6677ea074f more services, more test fixes, getting closer... 2015-05-29 14:59:57 -06:00
Ben Johnson 9d4527071e Refactor run command. 2015-05-29 14:59:57 -06:00
Ben Johnson 1f294ce8de Add httpd.Handler.serveQuery() tests. 2015-05-29 14:59:57 -06:00
Ben Johnson df1aeee70a WIP 2015-05-29 14:56:30 -06:00
Ben Johnson 4964e35260 Refactoring influxd. 2015-05-29 14:55:40 -06:00
Philip O'Toole eae313c4e2 Integrate batching with collectd 2015-05-28 15:22:36 -07:00
Philip O'Toole 0f385d282c Integrate point batching with Graphite inputs 2015-05-28 12:11:14 -07:00
Philip O'Toole 8ecb5a85e5 Allow Graphite batching control 2015-05-28 10:53:31 -07:00
Cory LaNou ae54d1f754 Merge pull request #2501 from neonstalwart/version-flag
name the FlagSet for the shell and add a version flag
2015-05-28 10:35:02 -06:00
dgnorton 3ad1fb1127 Merge pull request #2673 from influxdb/fix-2599
Fix 2599: add "epoch" URL param & return JSON time values as epoch numbers instead of date strings.
2015-05-28 08:41:50 -07:00
David Norton d94bb93b79 fix #2599: make units consistent with write
@neonstalwart, thanks for the suggestion.
2015-05-28 10:46:39 -04:00
David Norton 3174b2c98d fix #2599: re-skip TestSingleServer 2015-05-27 16:30:05 -04:00
David Norton 31c597a401 fix #2599: add epoch URL param for timestamp fmt 2015-05-27 16:23:27 -04:00
Todd Persen 350418cfe9 Merge pull request #2516 from s7v7nislands/fix_usage
Fix influxd help usage
2015-05-27 13:13:54 -07:00
David Norton 0a8be47ca1 fix #2644: make SHOW FIELD KEYS FROM /regex/ work 2015-05-27 10:26:32 -04:00
David Norton 8866c09e67 fix #2644: make SHOW SERIES FROM /<regex>/ work 2015-05-27 10:26:04 -04:00
David Norton cc8f5771fa fix #2644: make SHOW TAG VALUES FROM /regex/ work 2015-05-27 10:25:26 -04:00
David Norton fe99177fb3 fix #2644: make SHOW TAG KEYS FROM /<regex>/ work 2015-05-27 10:22:22 -04:00
Todd Persen 0f0a50b2a6 Merge pull request #2633 from influxdb/fix-2564
fix #2564: Rename "name" to "measurement" in JSON for writes
2015-05-26 20:33:26 -07:00
Todd Persen 856546820d Merge pull request #2600 from influxdb/in_order_db
Completely decouple "in order" testing
2015-05-26 19:58:16 -07:00
Todd Persen 99cb11de49 Merge pull request #1997 from influxdb/fix-1997-include-tags-in-select-wildcard
Update SELECT * to return tag values
2015-05-25 23:35:14 -07:00
Todd Persen 6735963a6b Reset test timeout. 2015-05-25 20:41:33 -07:00
David Norton e4670cb934 fix #2635: Fix query against bool field in WHERE 2015-05-24 05:00:59 -04:00
Todd Persen 338c1acb38 Add tags to OpenTSDB `SELECT *` tests. 2015-05-22 16:34:01 -07:00
Jason Wilder 5dcab443dc Move data.Point to tsdb.Point 2015-05-22 15:00:51 -06:00
Jason Wilder 997020963a Convert Point.Time to Point.Time()
Make public state private so that Point can be converted to an
interface.
2015-05-22 14:39:15 -06:00
Todd Persen fec08fc858 Include tags when doing a `SELECT *`. 2015-05-22 13:38:28 -07:00
David Norton 0fb4e14c44 fix #2564: chg name to measurement in write JSON 2015-05-21 19:05:32 -04:00
Philip O'Toole be0d0738d7 Completely decouple "in order" testing 2015-05-21 13:17:39 -07:00
David Norton 8156ef02b9 revert accidental change 2015-05-21 12:23:06 -04:00
David Norton 858648becf fix #2531: make WHERE with multiple OR terms work 2015-05-21 12:22:07 -04:00
ben hockey 7ee92cf9b8 name the FlagSet for the shell and add a version flag 2015-05-21 09:25:56 -05:00
s7v7nislands c8d1dbdbe6 fix run command help usage 2015-05-21 14:32:18 +08:00
s7v7nislands 7d4ee51c15 fix influxd help usage 2015-05-21 14:32:18 +08:00
Cory LaNou 5e9f7064f4 custom errors for distinct vs. count distinct 2015-05-20 15:02:39 -06:00
Cory LaNou c291b3a47a add custom error message for select distict against tags 2015-05-20 14:15:44 -06:00
Todd Persen 3505933a88 Add a check for function calls. 2015-05-20 11:35:46 -07:00
Todd Persen a88380b465 Allow tags to be selected in queries. 2015-05-20 11:35:41 -07:00
Cory LaNou 001cdefd7f return an error if user attempts to group by field 2015-05-20 10:42:58 -06:00
Jason Wilder a8ce23ca26 Allow coordinator to write points to shards with a consistency
level.
2015-05-20 10:01:28 -06:00
Cory LaNou 57b667db88 add integration tests 2015-05-19 12:29:39 -06:00
Cory LaNou 06d40a2582 SELECT DISTINCT field -> SELECT distinct(field) 2015-05-19 09:16:20 -06:00
Cory LaNou 56cf89deb7 adding distinct integration test 2015-05-19 09:16:20 -06:00
Cory LaNou 60729fdd77 cli usage corrections 2015-05-18 18:18:44 -06:00
Cory LaNou 8beda919d0 update usage 2015-05-18 18:18:44 -06:00
Cory LaNou 977b84d6a0 update cli flags: output -> format, +pretty 2015-05-18 18:18:44 -06:00
Cory LaNou e947fc41b8 clean up liner before an os exit (skips the defer) 2015-05-18 18:18:44 -06:00
Philip O'Toole 5cb2e75147 Skip remaining cluster tests 2015-05-18 11:48:30 -07:00
Philip O'Toole ab88a4b2b0 Disable TestClientLibrary 2015-05-18 11:44:10 -07:00
Philip O'Toole 5cd52c7a3c Disable single-server integration testing 2015-05-18 11:13:53 -07:00
Philip O'Toole a823846612 Disable runTest_rawDataReturnsInOrder 2015-05-18 11:02:18 -07:00
Philip O'Toole bcf312bcea Disable 3-node cluster test 2015-05-18 10:47:02 -07:00
Philip O'Toole 525500df66 Disable Test_ServerSingleGraphiteIntegration_NoDatabase 2015-05-18 09:53:58 -07:00
Philip O'Toole c6feef25e5 Skip Test5NodeClusterPartiallyReplicated 2015-05-18 09:35:27 -07:00
Philip O'Toole 0b0e6ae58a Disable failover test 2015-05-18 09:26:20 -07:00
Philip O'Toole a3687b8697 Fail tests fast 2015-05-15 07:24:23 -07:00
Ben Johnson 00ce4a504e Wait for quorum write before returning from Log.Apply().
This commit ensures a commit is written to a quorum before returning
from Log.Apply().
2015-05-13 16:05:26 -06:00
Vladimir Lopes 4b4aaf24ab Fix TestClientLibrary test
The Client return a nil (json null) response on a sucessful write
2015-05-13 15:45:22 -03:00
Philip O'Toole 095482855f Merge pull request #2545 from cannium/use-value-as-field-name
Use "value" as the field name also in graphite
2015-05-12 19:33:08 -07:00
Can ZHANG 84a713f07f Use "value" as the field name in graphite
Also fix tests.
2015-05-13 09:31:20 +08:00
Paul Dix 2e57952903 Merge pull request #2547 from neonstalwart/fix/2487
handle aggregations with 0 intervals
2015-05-12 16:42:14 -04:00
Philip O'Toole 67416756b8 Merge pull request #2548 from influxdb/numeric_agg_check
Numeric aggregation check
2015-05-12 13:31:23 -07:00
Philip O'Toole c34581b089 Unit test numeric aggregate check 2015-05-12 13:26:21 -07:00
ben hockey 8e02595b3e handle aggregations with 0 intervals 2015-05-12 15:21:31 -05:00
ben hockey ef7473ac6b looks like StatusNoContent writes {} by default 2015-05-12 09:08:36 -05:00
ben hockey 12322e4df0 update tests to expect StatusNoContent 2015-05-12 09:07:03 -05:00
Cory LaNou c9ca0ce77d gofmt 2015-05-11 17:48:21 -06:00
Todd Persen 730e8cdfd4 Merge pull request #2405 from neonstalwart/time
change timestamp to time
2015-05-11 12:38:00 -07:00
ben hockey 9a3c28748c change timestamp to time 2015-05-11 12:28:47 -05:00
Can ZHANG 55106a6287 Add integration tests for first(), last() and spread() queries. 2015-05-09 09:01:07 +08:00
Philip O'Toole 01c7774eff Merge pull request #2254 from tcolgate/feature/opentsdb-http-input
Add Support for OpenTSDB HTTP interface
2015-05-08 16:51:11 -07:00
dgnorton 23c8effd2c Merge pull request #2509 from neonstalwart/restore-config-file
call ParseConfigFile with path from restore command
2015-05-08 07:51:29 -07:00
Sean Beckett 3f9bcb6a63 Update run.go 2015-05-07 16:11:41 -07:00
ben hockey 1cec5da461 call ParseConfigFile with path from restore command
fixes #2506
2015-05-07 11:05:26 -05:00
Sean Beckett f3957714ae more detail in error message 2015-05-06 13:30:31 -07:00
ben hockey 6fbae016cd use distinct series names to avoid resetting db between each test 2015-05-04 11:09:49 -05:00