Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Chi Z <[email protected]>
  • Loading branch information
skyzh committed Nov 26, 2024
1 parent 7bc2b34 commit b85c2e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test_runner/regress/test_compaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
from fixtures.utils import skip_in_debug_build, wait_until
from fixtures.workload import Workload


AGGRESSIVE_COMPACTION_TENANT_CONF = {
# Disable gc and compaction. The test runs compaction manually.
"gc_period": "0s",
Expand Down Expand Up @@ -113,6 +112,7 @@ def test_pageserver_compaction_smoke(neon_env_builder: NeonEnvBuilder, wal_recei
assert non_vectored_average < 8
assert vectored_average < 8


@skip_in_debug_build("only run with release build")
def test_pageserver_gc_compaction_smoke(neon_env_builder: NeonEnvBuilder):
SMOKE_CONF = {
Expand Down Expand Up @@ -161,7 +161,9 @@ def test_pageserver_gc_compaction_smoke(neon_env_builder: NeonEnvBuilder):
workload.churn_rows(row_count, env.pageserver.id)

# ensure gc_compaction is scheduled and it's actually running (instead of skipping due to no layers picked)
env.pageserver.assert_log_contains("scheduled_compact_timeline.*picked .* layers for compaction")
env.pageserver.assert_log_contains(
"scheduled_compact_timeline.*picked .* layers for compaction"
)

log.info("Validating at workload end ...")
workload.validate(env.pageserver.id)
Expand Down

0 comments on commit b85c2e1

Please sign in to comment.