influxdb/tsdb/index/tsi1
Brandon Pfeifer 2a062608ae
fix: update broken flux and perf tests (2.7) (#24619)
* fix: update broken flux and perf tests (main-2.x) (#24617)

* chore: download repository key to file

* fix: broken perf tests

Some perf tests had to be temporarily disabled. Work is
needed in the pref_tests repositories to make them work
again.

* fix(tsi1/partition/test): fix data race in test code (#24613)

* fix(tsi1/partition/test): fix data race in test code

TestPartition_Compact_Write_Fail test was not locking the partition
before changing the value of MaxLogFileSize. This PR exports the mutex
of the partition to allow the test to access it and lock. Alternatives
require more changes such as a Setter method if we need to hide the
mutex.

* fixes #24042, for #24040

* chore: complete renaming of mutex in file and fix flux test

The flux test is another failing test because it was using a relative
time range.

---------

Co-authored-by: Phil Bracikowski <13472206+philjb@users.noreply.github.com>
2024-01-31 15:46:53 -05:00
..
testdata chore: move v2/v1/tsdb → v2/tsdb 2020-08-26 10:46:47 -07:00
cache.go chore: add goimports 2021-01-29 14:06:52 -05:00
cache_test.go test: fix DiskSizeBytes flakiness (#22639) 2021-10-08 09:46:58 -04:00
doc.go chore: update to go 1.20 (#24088) 2023-02-09 14:14:35 -05:00
file_set.go fix: fully clean up partially opened TSI (#23430) (#23454) 2022-06-14 11:49:16 -07:00
file_set_test.go test: use `T.TempDir` to create temporary test directory (#23258) 2023-03-21 16:22:11 -04:00
index.go chore: update to go 1.20 (#24088) 2023-02-09 14:14:35 -05:00
index_file.go fix: add paths to tsi log and index file errors (#23557) (#23562) 2022-07-19 15:45:42 -07:00
index_file_test.go test: use `T.TempDir` to create temporary test directory (#23258) 2023-03-21 16:22:11 -04:00
index_files.go chore: move v2/v1/tsdb → v2/tsdb 2020-08-26 10:46:47 -07:00
index_files_test.go test: use `T.TempDir` to create temporary test directory (#23258) 2023-03-21 16:22:11 -04:00
index_test.go test: use `T.TempDir` to create temporary test directory (#23258) 2023-03-21 16:22:11 -04:00
log_file.go fix: panic index out of range for invalid series keys [Port to 2.7] (#24599) 2024-01-23 17:08:07 +00:00
log_file_test.go test: use `T.TempDir` to create temporary test directory (#23258) 2023-03-21 16:22:11 -04:00
measurement_block.go fix: correct various typos (#19987) 2020-11-11 13:54:21 -05:00
measurement_block_test.go chore: move v2/v1/tsdb → v2/tsdb 2020-08-26 10:46:47 -07:00
partition.go fix: update broken flux and perf tests (2.7) (#24619) 2024-01-31 15:46:53 -05:00
partition_test.go fix: update broken flux and perf tests (2.7) (#24619) 2024-01-31 15:46:53 -05:00
sql_index_exporter.go chore: move v2/v1/tsdb → v2/tsdb 2020-08-26 10:46:47 -07:00
sql_index_exporter_test.go test: use `T.TempDir` to create temporary test directory (#23258) 2023-03-21 16:22:11 -04:00
tag_block.go chore: move v2/v1/tsdb → v2/tsdb 2020-08-26 10:46:47 -07:00
tag_block_test.go chore: move v2/v1/tsdb → v2/tsdb 2020-08-26 10:46:47 -07:00
tsi1.go chore: move v2/v1/tsdb → v2/tsdb 2020-08-26 10:46:47 -07:00
tsi1_test.go test: use `T.TempDir` to create temporary test directory (#23258) 2023-03-21 16:22:11 -04:00