|
// TestTenantStatementTimeoutAdmissionQueueCancelation tests that a KV request |
|
// that is canceled via a statement timeout is properly removed from the |
|
// admission control queue. A testing filter is used to "park" a small number of |
|
// requests thereby consuming those CPU "slots" and testing knobs are used to |
|
// tightly control the number of entries in the queue so that we guarantee our |
|
// main statement with a timeout is blocked. |
|
func TestTenantStatementTimeoutAdmissionQueueCancelation(t *testing.T) { |
|
defer leaktest.AfterTest(t)() |
|
skip.IgnoreLint(t, "tenant connector requires a CCL binary") |
Not immediately clear to me if this test is testing something we otherwise wouldn't be if we deleted it.
cockroach/pkg/sql/run_control_test.go
Lines 748 to 756 in afda0c1
Not immediately clear to me if this test is testing something we otherwise wouldn't be if we deleted it.