Skip to content

Commit

Permalink
tests: reproduce #8189
Browse files Browse the repository at this point in the history
  • Loading branch information
jcsp committed Jun 28, 2024
1 parent eb8d1a9 commit 1f7d48c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test_runner/regress/test_sharding.py
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,13 @@ def check_effective_tenant_config():
for k, v in non_default_tenant_config.items():
assert config.effective_config[k] == v

# Check that heatmap uploads are still enabled after shard split
# (https://github.com/neondatabase/neon/issues/8189)
assert (
config.effective_config["heatmap_period"]
and config.effective_config["heatmap_period"] != "0s"
)

# Validate pageserver state: expect every child shard to have an attached and secondary location
(total, attached) = get_node_shard_counts(env, tenant_ids=[tenant_id])
assert sum(attached.values()) == split_shard_count
Expand Down

0 comments on commit 1f7d48c

Please sign in to comment.