Skip to content

fix: update broken flux and perf tests (main-2.x)#24617

Merged
bnpfeife merged 2 commits intomain-2.xfrom
BNP_fix-perftest_2.x
Jan 31, 2024
Merged

fix: update broken flux and perf tests (main-2.x)#24617
bnpfeife merged 2 commits intomain-2.xfrom
BNP_fix-perftest_2.x

Conversation

@bnpfeife
Copy link
Copy Markdown
Member

This should make CI work properly again.

@bnpfeife bnpfeife self-assigned this Jan 31, 2024
Copy link
Copy Markdown
Contributor

@davidby-influx davidby-influx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some merging with a recent PR may be necessary

install_go() {
# install golang latest version
go_endpoint="go1.17.3.linux-amd64.tar.gz"
go_endpoint="go1.17.11.linux-amd64.tar.gz"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why isn't this the Go version we compile with (currently 1.20.XX)?

result = csv.from(csv: input)
|> testing.load()
|> range(start: -3y)
|> range(start: -10y)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@philjb may have made a similar change recently. Check his work here: 7284257

Some perf tests had to be temporarily disabled. Work is
needed in the pref_tests repositories to make them work
again.
@bnpfeife bnpfeife force-pushed the BNP_fix-perftest_2.x branch from 9a6aa9b to 353c28c Compare January 31, 2024 18:22
Copy link
Copy Markdown
Contributor

@davidby-influx davidby-influx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bnpfeife bnpfeife merged commit afd7ced into main-2.x Jan 31, 2024
@bnpfeife bnpfeife deleted the BNP_fix-perftest_2.x branch January 31, 2024 19:24
bnpfeife added a commit that referenced this pull request Jan 31, 2024
* 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.
bnpfeife added a commit that referenced this pull request Jan 31, 2024
* 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.
bnpfeife added a commit that referenced this pull request Jan 31, 2024
* 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>
bnpfeife added a commit that referenced this pull request Jan 31, 2024
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants