influxdb/tsdb/tsm1
Mark Rushakoff 8ab01c99c0 test(tsdb/tsm1): skip long tests in short mode
The tsdb/tsm1 package was one of the test suites that took the longest
to run in platform with go test -short. The rule of thumb on the Go
project is that short mode should skip any individual test that takes
longer than one second. This change skips two such tests, and it
eliminates a string concatenation loop in two other tests, so that they
report completion in "0.00s" rather than about 0.94s, on my machine.

These cumulative changes take `go test -short ./tsdb/tsm1` from about 14
seconds to about 7 seconds on my machine.
2018-11-16 08:06:23 -08:00
..
DESIGN.md Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
array_cursor.gen.go config: clean up 2018-11-08 11:39:36 -07:00
array_cursor.gen.go.tmpl config: clean up 2018-11-08 11:39:36 -07:00
array_cursor_iterator.gen.go chore(fmt): fix and simplify go formatting 2018-10-08 17:23:54 -05:00
array_cursor_iterator.gen.go.tmpl Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
array_cursor_iterator.go chore: refactor reads service and make it consumable externally 2018-10-09 09:51:13 -06:00
array_encoding.go Rename time batch decoders 2018-11-01 18:59:19 +00:00
array_encoding_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
batch_boolean.go Batch oriented boolean encoders 2018-11-01 18:59:19 +00:00
batch_boolean_test.go Batch oriented boolean encoders 2018-11-01 18:59:19 +00:00
batch_float.go feat(tsm1): Improve performance of Gorilla float block decoding 2018-11-01 18:59:20 +00:00
batch_float_test.go chore(storage,tsdb): fix megacheck errors 2018-11-01 12:54:46 -07:00
batch_integer.go fix(encoding): Improve simple8b another 6%; fix inconsequential bug 2018-11-01 18:59:20 +00:00
batch_integer_test.go chore(storage,tsdb): fix megacheck errors 2018-11-01 12:54:46 -07:00
batch_string.go fix(encoding): Improve array string encoding perf a little more 2018-11-01 18:59:20 +00:00
batch_string_test.go Batch oriented string encoders 2018-11-01 18:59:19 +00:00
batch_timestamp.go Fix TSM index maxtime modification 2018-11-02 18:39:30 -06:00
batch_timestamp_test.go feat(encoding): Improve timestamp encoding 2018-11-01 18:59:20 +00:00
bit_reader.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
bit_reader_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
bool.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
bool_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
cache.go Add skeleton buildtsi 2018-10-11 17:45:47 +01:00
cache_race_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
cache_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
compact.gen.go fix: Allow compactor to make progress if v.MaxTime() != entry.MaxTime 2018-11-14 12:14:45 +00:00
compact.gen.go.tmpl fix: Allow compactor to make progress if v.MaxTime() != entry.MaxTime 2018-11-14 12:14:45 +00:00
compact.gen.go.tmpldata Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
compact.go config: clean up 2018-11-08 11:39:36 -07:00
compact_test.go Add method QueryRawJSON to influxql.service (for querytest tool) (#1402) 2018-11-15 10:45:38 -08:00
config.go respond to review feedback 2018-11-08 11:39:36 -07:00
encoding.gen.go Add batch block encoders 2018-11-01 18:59:19 +00:00
encoding.gen.go.tmpl Add batch block encoders 2018-11-01 18:59:19 +00:00
encoding.gen.go.tmpldata Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
encoding.gen_test.go Update tsi1 package from OSS 2018-10-01 12:08:37 +01:00
encoding.go config: clean up 2018-11-08 11:39:36 -07:00
encoding_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
engine.go fix(storage): allow disabling the WAL 2018-11-09 10:45:24 -07:00
engine_cursor.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
engine_test.go test(tsdb/tsm1): skip long tests in short mode 2018-11-16 08:06:23 -08:00
file_store.gen.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
file_store.gen.go.tmpl Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
file_store.gen.go.tmpldata Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
file_store.go config: clean up 2018-11-08 11:39:36 -07:00
file_store_array.gen.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
file_store_array_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
file_store_key_iterator.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
file_store_key_iterator_test.go Add TSM1 measurement stats. 2018-10-08 10:43:53 -06:00
file_store_observer.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
file_store_test.go test(tsdb/tsm1): skip long tests in short mode 2018-11-16 08:06:23 -08:00
float.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
float_test.go Batch oriented float encoders 2018-11-01 18:59:19 +00:00
int.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
int_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
iterator.gen.go chore(fmt): fix and simplify go formatting 2018-10-08 17:23:54 -05:00
iterator.gen.go.tmpl Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
iterator.gen.go.tmpldata Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
iterator.go Remove the fields index 2018-10-15 10:22:07 -06:00
iterator_test.go refactor: move the logger package from influxdb to platform 2018-10-10 15:49:07 -05:00
mmap_unix.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
mmap_windows.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
pools.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
reader.gen.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
reader.gen.go.tmpl Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
reader.gen.go.tmpldata Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
reader.go config: clean up 2018-11-08 11:39:36 -07:00
reader_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
ring.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
ring_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
scheduler.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
scheduler_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
stats.go Add TSM1 measurement stats. 2018-10-08 10:43:53 -06:00
stats_test.go Add TSM1 measurement stats. 2018-10-08 10:43:53 -06:00
string.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
string_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
timestamp.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
timestamp_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
tombstone.go config: clean up 2018-11-08 11:39:36 -07:00
tombstone_test.go Initial import of tsm1.Engine 2018-10-01 12:08:37 +01:00
wal.go final touches 2018-11-08 11:39:36 -07:00
wal_test.go Pull in more pkg packages 2018-10-01 12:08:37 +01:00
writer.go Add TSM1 measurement stats. 2018-10-08 10:43:53 -06:00
writer_test.go test(tsdb/tsm1): skip long tests in short mode 2018-11-16 08:06:23 -08:00