Commit Graph

41 Commits (1f31e8b70778c80a1bbfca0e3437f52eb26c3e7a)

Author SHA1 Message Date
Nathaniel Cook df6d97a6a5 add docker rm flag so circleci can disable deletion of containers 2016-02-02 15:18:58 -07:00
Nathaniel Cook 1e816e618b decouple circleci from tests using docker 2015-12-14 16:39:39 -07:00
Philip O'Toole 7bae79cb71 Move to Go 1.5.2 2015-12-09 11:53:00 -08:00
Paul Dix 1bee7d1512 Update TSM, remove old version, add config
* remove rolloverTSMFileSize constant that is no longer used
* remove the maxGenerationFileCount since it is no longer a limitation that's necessary with the new compaction scheme. We no longer read WAL segments as part of the compaction so memory is only used as we read in each individual key
* remove minFileCount and switch to a user configurable variable
* remove the mutex from WALSegmentWriter. There's never more than one open in the WAL at one time and it's not exported through any function so the lock on the WAL should be used. This simplified keeping track of the last write time and removed a bunch of unnecessary locks.
* update WALSegmentWriter.Write to take the compressed bytes so that encoding and compression can occur before the call to write (while we don't hold the WAL lock)
* remove a bunch of unnecessary locking in WAL.writeToLog
* Add check for TSM file magic number and vesion
* Remove old tsm, log, and unused cursor code
* Remove references to tsm1dev everywhere except in the inspector
* Clean up config options for compaction and snapshotting
* Remove old TSM configuration options
* Update the config.sample.toml with TSM options
* Update WAL compact to force if it has been cold for writes for a configurable period of time (1h by default)
2015-12-06 18:50:39 -05:00
Philip O'Toole e9088b2cf8 Bring test timeout back to 5 minutes
Testing has improved a lot over the past few months, so if an individual test doesn't complete in 5 minutes, something is wrong.
2015-12-06 09:38:06 -08:00
Philip O'Toole 4a5f8c88d1 Switch Circle testing of tsm1 to tsm2 2015-12-05 08:30:15 -08:00
David Norton 23435299ca disable test parallelism 2015-12-03 08:08:56 -06:00
Philip O'Toole 3cab8fac02 Revert to Go 1.4.2
This is not passing 'go vet' under 1.4.2.
2015-11-11 15:48:37 -08:00
Philip O'Toole 245bd61cd0 Run 1 container of tests with the tsm1 engine 2015-10-23 13:58:15 -06:00
Philip O'Toole 7b71e8989f Move to Go 1.5.1 2015-10-05 12:35:13 -07:00
David Norton 51bf06cc42 make circle check go fmt and go vet 2015-09-16 13:04:30 -04:00
Philip O'Toole 36d6d79cc9 Build docker only when necessary during tests 2015-09-04 13:40:05 -07:00
Philip O'Toole c289d53238 Only 'go vet' in the first container
The first container runs the fastest, so use its cycles to perform this
testing.
2015-09-02 11:47:49 -07:00
Philip O'Toole 1f15e08fc7 Actually run race detection in container 2 2015-09-02 11:39:11 -07:00
Philip O'Toole da882964e5 Run i386 tests in distinct container 2015-09-02 11:23:09 -07:00
Philip O'Toole 47222999ba Set CI environment variable for i386 tests 2015-09-02 11:11:45 -07:00
Philip O'Toole b5d3bb6cc1 Revert "See if 25 quickchecks are OK"
This reverts commit feafe9be0c.

Circle builds are breaking.
2015-09-02 08:42:39 -07:00
Philip O'Toole feafe9be0c See if 25 quickchecks are OK 2015-09-02 08:38:35 -07:00
Philip O'Toole 191163c7c7 Move to Go 1.5 2015-08-27 09:58:15 -07:00
aviau b4074ecdb9 Run 32bit tests in CircleCI + Added script to run them separately 2015-08-19 16:20:53 -04:00
Philip O'Toole b555ab7e22 Reduce test timeout to fail quicker 2015-08-13 14:04:28 -07:00
David Norton df7e13379b enable race test 2015-07-23 15:06:32 -04:00
Jason Wilder 353663baf2 Disable race tests until hashicorp raft lib is updated 2015-07-23 10:12:16 -06:00
Philip O'Toole 19dcebc730 Increase CircleCI timeout to 10 minutes
Working hypothesis is that race testing is on the edge with 5 minutes. We're going to 10 minutes, but if this still fails, it may be some other issue.
2015-06-09 12:40:11 -07:00
Philip O'Toole dd4041a9c0 Re-enable test parallelism 2015-05-18 09:44:43 -07:00
Philip O'Toole 9cee35067d Test parallelism to 1 2015-05-15 07:48:46 -07:00
Philip O'Toole 2f2216e6c6 Debug Circle testing 2015-05-15 07:15:37 -07:00
Philip O'Toole 4fbdba6805 Set the GORACE environment variable correctly 2015-04-30 13:16:59 -07:00
Philip O'Toole 8dac41d7a9 Simple 'go get' options 2015-04-20 20:59:38 -07:00
Philip O'Toole 384ca9c7de Use Go 1.4.2 during testing 2015-04-20 19:01:38 -07:00
Marcos Lilljedahl f07b500c7c Avoid downloading go vet as included in go binary
Source: https://github.com/golang/tools/blob/master/README
2015-04-20 22:25:13 -03:00
Philip O'Toole 0c8a2396b0 Merge with master, not PR branch 2015-04-20 17:41:29 -07:00
Philip O'Toole 006b844419 Minor tweaks to circle testing 2015-04-20 13:22:50 -07:00
Philip O'Toole e8d7d5ba1f Retry 'go get' during CircleCI builds 2015-04-19 10:33:38 -07:00
Philip O'Toole 4a0e5bcf31 tee test logs into $CIRCLE_ARTIFACTS 2015-04-19 09:39:01 -07:00
Philip O'Toole e68807d173 Increase parallelism to 256 2015-04-17 18:50:41 -07:00
Philip O'Toole d0db8c05eb Use parallelism of 32 2015-04-17 18:42:44 -07:00
Philip O'Toole d0bbdc2dd5 'go get' exactly as InfluxDB does 2015-04-17 18:33:26 -07:00
Philip O'Toole f205e56323 Default parallelism 2015-04-17 16:18:28 -07:00
Cory LaNou ea6cacc789 test in parallel - packages and tests 2015-04-17 16:18:28 -07:00
Philip O'Toole cb57554c86 Explicitly configure CircleCI build setup 2015-04-16 10:26:16 -07:00