Skip to content

Commit

Permalink
Merge #99121
Browse files Browse the repository at this point in the history
99121: *: skip flaky tests r=adityamaru a=adityamaru

Informs: #98987
Informs: #98020
Informs: #98905
Informs: #98564
Informs: #98991

Release note: None
Epic: none

Co-authored-by: adityamaru <[email protected]>
  • Loading branch information
craig[bot] and adityamaru committed Mar 21, 2023
2 parents 5f5cf26 + 848ed32 commit 5c48aa2
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ccl/kvccl/kvtenantccl/tenant_upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ func TestTenantUpgradeFailure(t *testing.T) {
// is too low.
func TestTenantUpgradeInterlock(t *testing.T) {
defer leaktest.AfterTest(t)()
skip.WithIssue(t, 98987)
// Times out under stress race
skip.UnderStressRace(t)
// Test takes 30s to run
Expand Down
5 changes: 5 additions & 0 deletions pkg/ccl/multiregionccl/datadriven_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,11 @@ func TestMultiRegionDataDriven(t *testing.T) {
var recCh chan tracingpb.Recording
datadriven.RunTest(t, path, func(t *testing.T, d *datadriven.TestData) string {
switch d.Cmd {
case "skip":
var issue int
d.ScanArgs(t, "issue-num", &issue)
skip.WithIssue(t, issue)
return ""
case "sleep-for-follower-read":
time.Sleep(time.Second)
case "new-cluster":
Expand Down
3 changes: 3 additions & 0 deletions pkg/ccl/multiregionccl/testdata/regional_by_table
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
skip issue-num=98020
----

new-cluster localities=us-east-1,us-east-1,us-east-1,us-west-1,us-west-1,us-west-1,us-central-1,eu-central-1,eu-west-1
----

Expand Down
3 changes: 3 additions & 0 deletions pkg/ccl/multiregionccl/testdata/secondary_region
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
skip issue-num=98020
----

new-cluster localities=us-east-1,us-east-1,us-west-1,us-west-1,us-central-1,us-central-1,us-central-1,eu-west-1,eu-west-1,eu-west-1
----

Expand Down
4 changes: 4 additions & 0 deletions pkg/cmd/roachtest/tests/versionupgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ func runVersionUpgrade(ctx context.Context, t test.Test, c cluster.Cluster) {
mvt.InMixedVersion(
"test schema change step",
func(ctx context.Context, l *logger.Logger, rng *rand.Rand, h *mixedversion.Helper) error {
if c.IsLocal() {
l.Printf("skipping step in bors builds while failures are handled -- #99115")
return nil
}
l.Printf("running schema workload step")
runCmd := roachtestutil.NewCommand("./workload run schemachange").Flag("verbose", 1).Flag("max-ops", 10).Flag("concurrency", 2).Arg("{pgurl:1-%d}", len(c.All()))
randomNode := h.RandomNode(rng, c.All())
Expand Down
2 changes: 2 additions & 0 deletions pkg/kv/kvserver/client_replica_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2686,6 +2686,8 @@ func TestSystemZoneConfigs(t *testing.T) {
defer leaktest.AfterTest(t)()
defer log.Scope(t).Close(t)

skip.WithIssue(t, 98905)

// This test is relatively slow and resource intensive. When run under
// stressrace on a loaded machine (as in the nightly tests), sometimes the
// SucceedsSoon conditions below take longer than the allotted time (#25273).
Expand Down
3 changes: 3 additions & 0 deletions pkg/upgrade/upgrades/schema_changes_external_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ type schemaChangeTestCase struct {
// exponential backoff to the system.jobs table, but was retrofitted to prevent
// regressions.
func TestMigrationWithFailures(t *testing.T) {
skip.WithIssue(t, 98564)
const createTableBefore = `
CREATE TABLE test.test_table (
id INT8 DEFAULT unique_rowid() PRIMARY KEY,
Expand Down Expand Up @@ -173,6 +174,8 @@ CREATE TABLE test.test_table (
// alters a column in a table multiple times with failures at different stages
// of the migration.
func TestMigrationWithFailuresMultipleAltersOnSameColumn(t *testing.T) {
skip.WithIssue(t, 98991)

const createTableBefore = `
CREATE TABLE test.test_table (
username STRING NOT NULL
Expand Down

0 comments on commit 5c48aa2

Please sign in to comment.