Skip to content

Commit

Permalink
CI: update config for sync diff (#3435)
Browse files Browse the repository at this point in the history
  • Loading branch information
3pointer authored and glorv committed Nov 17, 2021
1 parent 0d4e976 commit 285c0e2
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 28 deletions.
3 changes: 1 addition & 2 deletions dm/tests/dmctl_basic/conf/diff_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ check-struct-only = false

[table-configs]
[table-configs.config1]
schema = "dmctl"
table = "t_target"
target-tables = ["dmctl.t_target"]
ignore-columns = ["id"]

[routes.rule1]
Expand Down
10 changes: 2 additions & 8 deletions dm/tests/online_ddl/conf/diff_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ check-struct-only = false

target-check-tables = ["online_ddl.gho_t_target", "online_ddl.pt_t_target"]

target-configs= ["config1", "config2"]
target-configs= ["config1"]

[routes.rule1]
schema-pattern = "online_ddl"
Expand All @@ -31,13 +31,7 @@ target-table = "pt_t_target"

[table-configs]
[table-configs.config1]
schema = "online_ddl"
table = "gho_t_target"
ignore-columns = ["id"]

[table-configs.config2]
schema = "online_ddl"
table = "pt_t_target"
target-tables = ["online_ddl.*"]
ignore-columns = ["id"]

[data-sources]
Expand Down
3 changes: 1 addition & 2 deletions dm/tests/print_status/conf/diff_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ check-struct-only = false

[table-configs]
[table-configs.config1]
schema = "print_status"
table = "t_1"
target-tables = ["print_status.t_1"]
# currently ignore check float and timestamp field
ignore-columns = ["c5", "c9", "c11", "c15"]

Expand Down
3 changes: 1 addition & 2 deletions dm/tests/safe_mode/conf/diff_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ check-struct-only = false

[table-configs]
[table-configs.config1]
schema = "safe_mode_target"
table = "t_target"
target-tables = ["safe_mode_target.t_target"]
ignore-columns = ["id"]

[routes.rule1]
Expand Down
3 changes: 1 addition & 2 deletions dm/tests/sequence_safe_mode/conf/diff_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,7 @@ target-table = "t_target"

[table-configs]
[table-configs.config1]
schema = "sequence_safe_mode_target"
table = "t_target"
target-tables = ["sequence_safe_mode_target.t_target"]
ignore-columns = ["id"]

[data-sources]
Expand Down
5 changes: 2 additions & 3 deletions dm/tests/sequence_sharding/conf/diff_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,9 @@ target-table = "t_target"

[table-configs]
[table-configs.config1]
schema = "sharding_target2"
table = "t_target"
target-tables = ["sharding_target2.t_target"]
ignore-columns = ["id"]
index-fields = "uid"
index-fields = ["uid"]
# range-placeholder

[data-sources]
Expand Down
5 changes: 2 additions & 3 deletions dm/tests/sequence_sharding_optimistic/conf/diff_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,8 @@ target-table = "t_target"

[table-configs]
[table-configs.config1]
schema = "sharding_target_opt"
table = "t_target"
index-fields = "id"
target-tables = ["sharding_target_opt.t_target"]
index-fields = ["id"]
# range-placeholder

[data-sources]
Expand Down
5 changes: 2 additions & 3 deletions dm/tests/sequence_sharding_removemeta/conf/diff_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,9 @@ target-table = "t_target"

[table-configs]
[table-configs.config1]
schema = "sharding_target3"
table = "t_target"
target-tables = ["sharding_target3.t_target"]
ignore-columns = ["id"]
index-fields = "uid"
index-fields = ["uid"]
# range-placeholder

[data-sources]
Expand Down
5 changes: 2 additions & 3 deletions dm/tests/sharding/conf/diff_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ target-table = "t_target"

[table-configs]
[table-configs.config1]
schema = "db_target"
table = "t_target"
target-tables = ["db_target.t_target"]
# currently sync_diff does not support json fields well
ignore-columns = ["id", "info_json"]
index-fields = "uid"
index-fields = ["uid"]
# range-placeholder


Expand Down

0 comments on commit 285c0e2

Please sign in to comment.