Skip to content

Commit

Permalink
Merge #52638
Browse files Browse the repository at this point in the history
52638: roachtest: fix regex for django test suite r=rafiss a=rafiss

- The release tag regex was too restrictive.
- Update SQLAlchemy failure list with new expected fail.

fixes #52225
fixes #52222
fixes #46800

Release note: None

Co-authored-by: Rafi Shamim <[email protected]>
  • Loading branch information
craig[bot] and rafiss committed Aug 11, 2020
2 parents a7c61be + 4311268 commit 4da9abd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/cmd/roachtest/django.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"regexp"
)

var djangoReleaseTagRegex = regexp.MustCompile(`^(?P<major>\d+)\.(?P<minor>\d+)\.(?P<point>\d+)$`)
var djangoReleaseTagRegex = regexp.MustCompile(`^(?P<major>\d+)\.(?P<minor>\d+)(\.(?P<point>\d+))?$`)
var djangoCockroachDBReleaseTagRegex = regexp.MustCompile(`^(?P<major>\d+)\.(?P<minor>\d+)$`)

var djangoSupportedTag = "3.0.6"
Expand Down
4 changes: 3 additions & 1 deletion pkg/cmd/roachtest/sqlalchemy_blocklist.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ var sqlAlchemyBlocklists = blocklistsForVersion{
{"v20.2", "sqlAlchemyBlocklist20_2", sqlAlchemyBlocklist20_2, "sqlAlchemyIgnoreList20_2", sqlAlchemyIgnoreList20_2},
}

var sqlAlchemyBlocklist20_2 = blocklist{}
var sqlAlchemyBlocklist20_2 = blocklist{
"test/dialect/test_suite.py::ComponentReflectionTest_cockroachdb+psycopg2_9_5_0::test_get_foreign_keys": "52356",
}

var sqlAlchemyBlocklist20_1 = blocklist{
"test/dialect/test_suite.py::ExpandingBoundInTest_cockroachdb+psycopg2_9_5_0::test_null_in_empty_set_is_false": "41596",
Expand Down

0 comments on commit 4da9abd

Please sign in to comment.