Commit Graph

572 Commits (e205abbcb4bb38757f981d7a74da234d6451210e)

Author SHA1 Message Date
Cory LaNou 7b2019fbb0 Fix hostname defaults 2015-04-22 12:00:51 -06:00
Jason Wilder ad88051e1a Merge pull request #2384 from influxdb/jw-int-tests
Make sure cluster tests actually created a cluster before running
2015-04-22 10:52:36 -06:00
Jason Wilder dee4d52c3f Make sure cluster tests actually created a cluster before running 2015-04-22 10:37:35 -06:00
Philip O'Toole 8141da34c4 Dump cluster stats on test failure 2015-04-21 22:31:12 -07:00
Philip O'Toole 554b581060 Explicitly unit-test negative values 2015-04-21 19:30:24 -07:00
Philip O'Toole 92899c3715 Add integration test to sanity check diags 2015-04-21 19:19:08 -07:00
Jason Wilder 6d6db1fb2b Merge pull request #2375 from influxdb/jw-int-tests
Print CPU and GOMAXPROCS when running integration tests
2015-04-21 16:51:08 -06:00
Jason Wilder 6590653528 Print CPU and GOMAXPROCS when running integration tests
Hopefully make it easier to reproduce the test env locally.
2015-04-21 16:35:10 -06:00
Philip O'Toole 5ff1bd1f87 Skip partial-replication test 2015-04-21 15:21:25 -07:00
Philip O'Toole df7ed03cd4 Actually allow HTTP logging to be enabled 2015-04-21 15:21:21 -07:00
Cory LaNou c5790abe84 fix data race for openTSDB listener addr 2015-04-21 15:26:11 -06:00
Cory LaNou 3a83c6e9ec new config should not set host name 2015-04-21 13:49:20 -06:00
Cory LaNou ae43e0c8b2 always use localhost, not host name 2015-04-21 13:48:42 -06:00
Jason Wilder 25a43a8f11 Change 6 node test to 5 node 2015-04-21 13:39:58 -06:00
Jason Wilder 406a951718 Fix comments 2015-04-21 13:39:58 -06:00
Jason Wilder 90e3059a8b Fix processRawQuery from returning duplicate data 2015-04-21 13:39:58 -06:00
Jason Wilder f5a8227077 Fix cluster join
New data nodes would never actually join the cluster.  They would
pose as server ID 1 in a cluster.
2015-04-21 13:39:58 -06:00
Jason Wilder 94f50ac056 Make 3 node failover test parallel 2015-04-20 09:24:56 -06:00
Jason Wilder fd4a69855d Re-enable Test3NodeClusterPartiallyReplicated 2015-04-20 09:24:56 -06:00
Jason Wilder d8fba0a50d Close raft log before broker
Closing the broker before the raft log can trigger this panic since the
raft log depends on the broker via the FSM.

panic: apply: broker apply: broker already closed

goroutine 29164 [running]:
github.com/influxdb/influxdb/raft.(*Log).applier(0xc20833b040, 0xc20802bd40)
	/Users/jason/go/src/github.com/influxdb/influxdb/raft/log.go:1386 +0x278
created by github.com/influxdb/influxdb/raft.func·002
	/Users/jason/go/src/github.com/influxdb/influxdb/raft/log.go:389 +0x764
2015-04-20 09:23:39 -06:00
David Norton a1790f2d0c fix #2337: panic if tag key isn't double quoted 2015-04-18 13:05:41 -04:00
Philip O'Toole 4a1df4c45a Reduce test timeout for graphite and openTSDB 2015-04-18 09:53:54 -07:00
Philip O'Toole 12724ccc9c Remove debug cruft from tests 2015-04-17 18:46:10 -07:00
Philip O'Toole bc9a0b8ad6 Dump cluster diags if table-tests fail 2015-04-17 18:33:26 -07:00
Philip O'Toole 4c7e3632b9 Disable partial replication test 2015-04-17 18:33:22 -07:00
Philip O'Toole 79519e6a7e Parameterize graphite and openTSDB test timeouts 2015-04-17 18:32:59 -07:00
Philip O'Toole 665f57f72a Give table-driven tests 30 seconds per query 2015-04-17 18:32:58 -07:00
Philip O'Toole e9ebf654e9 Return number of nodes that responded OK 2015-04-17 18:32:58 -07:00
Philip O'Toole 50b08ff73f Bang on test server every 100 ms 2015-04-17 18:32:58 -07:00
Philip O'Toole 88b9276e33 Name 'show continuous queries' test 2015-04-17 16:18:28 -07:00
Philip O'Toole df16e6c121 Even better output from integration test 2015-04-17 16:18:28 -07:00
Cory LaNou c45e080640 fix test data collision 2015-04-17 16:18:28 -07:00
Cory LaNou cecd7f77e1 ClusterURL refactor VI 2015-04-17 16:18:28 -07:00
Cory LaNou 0d734868a8 use net.JoinHostPort 2015-04-17 16:18:28 -07:00
Cory LaNou 69d99a895a ClusterURL ractor III 2015-04-17 16:18:28 -07:00
Cory LaNou 6de52d5046 force OpenTSDB to use IPv4 formats 2015-04-17 16:18:28 -07:00
Cory LaNou 0469d8e283 explicitly specify bind port for graphite tests to properly form IPv6 addresses 2015-04-17 16:18:28 -07:00
Cory LaNou a689e8fcea refactor the ClusterURL again 2015-04-17 16:18:28 -07:00
Cory LaNou 893834afbb simplify ClusterURL 2015-04-17 16:18:28 -07:00
Cory LaNou 4d809a8920 no more port collisions 2015-04-17 16:18:28 -07:00
Cory LaNou 5fb81825db fix graphite default initialization 2015-04-17 16:18:28 -07:00
Cory LaNou bad336a6ae wip fixing graphite tests 2015-04-17 16:18:28 -07:00
Cory LaNou 6c0bfb5a43 make all integration tests safe to run in parallel 2015-04-17 16:18:28 -07:00
Philip O'Toole f349c23964 Should be no need to wait 60 seconds
Each of these tests relies on a write of only a few points. It simply
should not take 60 seconds.
2015-04-17 16:18:28 -07:00
Philip O'Toole 411ce965db Don't hammer the server during testing 2015-04-17 16:18:28 -07:00
Philip O'Toole 969b8c4d70 Don't log HTTP accesses during testing 2015-04-17 16:18:28 -07:00
Philip O'Toole a3fbba33da Allow control of HTTP logging 2015-04-17 16:18:28 -07:00
David Norton 86db3574ad fix #2286: parse error on CREATE CONTINUOUS QUERY 2015-04-17 16:40:29 -04:00
Jason Wilder a75845dfff Remove type check when handling closed network connection error 2015-04-17 12:30:11 -06:00
Jason Wilder 8aa0d32b6f Add failover to other data nodes for distributed queries
Fixes #2190
2015-04-17 11:28:47 -06:00