Skip to content

Commit

Permalink
allocator2: structural normalization of SpanConfig
Browse files Browse the repository at this point in the history
The structural normalization is invoked as part of the normalization
step. Also includes unit testing of all the normalization code.

Informs cockroachdb#103320

Epic: CRDB-25222

Release note: None
  • Loading branch information
sumeerbhola committed May 16, 2023
1 parent 4bb9d4b commit db74c89
Show file tree
Hide file tree
Showing 5 changed files with 912 additions and 19 deletions.
7 changes: 6 additions & 1 deletion pkg/kv/kvserver/allocator/allocator2/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,13 @@ go_test(
"memo_helper_test.go",
],
args = ["-test.timeout=295s"],
data = glob(["testdata/**"]),
embed = [":allocator2"],
deps = ["@com_github_stretchr_testify//require"],
deps = [
"//pkg/roachpb",
"@com_github_cockroachdb_datadriven//:datadriven",
"@com_github_stretchr_testify//require",
],
)

get_x_data(name = "get_x_data")
Loading

0 comments on commit db74c89

Please sign in to comment.