-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
testserver: do not verify enterprise license #108762
testserver: do not verify enterprise license #108762
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will be interesting to see what CI says about this!
This comment was marked as outdated.
This comment was marked as outdated.
I have added the list to the issue #76378. |
Just wanted to point out that the actual number of tests that require fixing is larger than what the screenshot shows. This is because some of the failures result in crashes, so the whole package counts as a single failure (although there might be more lurking). |
yes, that is true, but at least the list of packages is complete (and it was longer than in the screenshot, the screenshot was taken when the CI run wasn't complete yet) |
b634f0a
to
29c40a7
Compare
425822f
to
f1edfee
Compare
Release note: None
Release note: None
Release note: None
Release note: None
Release note: None
Release note: None
Release note: None
This will make it possible to merge the change that enables tenant selection everywhere before we investigate the test failures in detail. Release note: None
Some of the tests are properly fixes, others have skips associated with them. Release note: None
Some packages contain many tests that fail when run with a virtual cluster active. Until we have time to investigate them in details, opt them out. Release note: None
f0576b3
to
d0512f9
Compare
Some packages contain many tests that fail when run with a virtual cluster active. Until we have time to investigate them in details, opt them out. Release note: None
Prior to this patch, for test tenant servers to be automatically used two conditions needed to hold: - the CCL package(s) needed to be imported. - an enterprise license needed to be set (usually via `ccl.TestingEnableEnterprise()`) While we want these conditions to hold to start separate-process SQL servers in production, they do not need to be verified in unit tests. NB: as a result of merging this PR, numerous (recently introduced) calls to `ccl.TestingEnableEnterprise()` in various `main_test.go` files are now unnecessary. Cleaning them up can be pushed to a later phase. Release note: None
Release note: None
Release note: None
Release note: None
Release note: None
Release note: None
d0512f9
to
11be180
Compare
Previously a CCL license was required for the default test tenant to be started. This requirement no longer holds true, hence the comment has been updated. See also: cockroachdb#108762 Epic: CRDB-31933 Release note: None
Previously a CCL license was required for the default test tenant to be started. This requirement no longer holds true, hence the comment has been updated. See also: cockroachdb#108762 Epic: CRDB-31933 Release note: None
Previously a CCL license was required for the default test tenant to be started. This requirement no longer holds true, hence the comment has been updated. See also: cockroachdb#108762 Epic: CRDB-31933 Release note: None
Previously a CCL license was required for the default test tenant to be started. This requirement no longer holds true, hence the comment has been updated. See also: cockroachdb#108762 Epic: CRDB-31933 Release note: None
Prior to this patch, for test tenant servers to be automatically used
two conditions needed to hold:
ccl.TestingEnableEnterprise()
)While we want these conditions to hold to start separate-process SQL
servers in production, they do not need to be verified in unit tests.
NB: as a result of merging this PR, a lot of (recently introduced)
calls to
ccl.TestingEnableEnterprise()
in variousmain_test.go
files are now unnecessary. Cleaning them up can be pushed to a later
phase.
Release note: None
Epic: CRDB-18499
Fixes #104500.
Fixes #108761.
Informs #76378