Skip to content

sql: broken tests in Bazel #61917

@rickystewart

Description

@rickystewart

We are making a lot of progress in the migration from make to Bazel. Before we can complete our migration, we need to make sure that all tests in-tree continue to pass when run inside of the Bazel sandbox. The following tests are broken when run in the Bazel sandbox:

pkg/ccl/logictestccl:logictestccl_test
pkg/sql/logictest:logictest_test
pkg/sql/sem/tree/eval_test:eval_test_test
pkg/util/json:json_test

Please help us by doing the following:

  • Reproduce the failure locally; for example, with bazel test pkg/util/json:json_test, and consult the test logs to see what went wrong
  • Identify the root cause of the failure
  • If you are able, repair the failure such that the test passes, and submit a PR removing the broken_in_bazel tag from the test (see the linked documentation below)
  • If not, take your findings to #bazel in Slack, and we’ll work with you to figure out how we can get the tests working

Helpful documentation:

Metadata

Metadata

Assignees

Labels

C-bugCode not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions