mirror of
https://github.com/neondatabase/neon.git
synced 2025-12-25 23:29:59 +00:00
enable tests introduced in hadron commits (#12790)
Enables skipped tests introduced in hadron integration commits
This commit is contained in:
@@ -863,7 +863,6 @@ def test_pageserver_compaction_circuit_breaker(neon_env_builder: NeonEnvBuilder)
|
|||||||
assert not env.pageserver.log_contains(".*Circuit breaker failure ended.*")
|
assert not env.pageserver.log_contains(".*Circuit breaker failure ended.*")
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip(reason="Lakebase mode")
|
|
||||||
def test_ps_corruption_detection_feedback(neon_env_builder: NeonEnvBuilder):
|
def test_ps_corruption_detection_feedback(neon_env_builder: NeonEnvBuilder):
|
||||||
"""
|
"""
|
||||||
Test that when the pageserver detects corruption during image layer creation,
|
Test that when the pageserver detects corruption during image layer creation,
|
||||||
@@ -890,7 +889,9 @@ def test_ps_corruption_detection_feedback(neon_env_builder: NeonEnvBuilder):
|
|||||||
timeline_id = env.initial_timeline
|
timeline_id = env.initial_timeline
|
||||||
|
|
||||||
pageserver_http = env.pageserver.http_client()
|
pageserver_http = env.pageserver.http_client()
|
||||||
workload = Workload(env, tenant_id, timeline_id)
|
workload = Workload(
|
||||||
|
env, tenant_id, timeline_id, endpoint_opts={"config_lines": ["neon.lakebase_mode=true"]}
|
||||||
|
)
|
||||||
workload.init()
|
workload.init()
|
||||||
|
|
||||||
# Enable the failpoint that will cause image layer creation to fail due to a (simulated) detected
|
# Enable the failpoint that will cause image layer creation to fail due to a (simulated) detected
|
||||||
|
|||||||
@@ -2742,7 +2742,6 @@ def test_pull_timeline_partial_segment_integrity(neon_env_builder: NeonEnvBuilde
|
|||||||
wait_until(unevicted)
|
wait_until(unevicted)
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.skip(reason="Lakebase mode")
|
|
||||||
def test_timeline_disk_usage_limit(neon_env_builder: NeonEnvBuilder):
|
def test_timeline_disk_usage_limit(neon_env_builder: NeonEnvBuilder):
|
||||||
"""
|
"""
|
||||||
Test that the timeline disk usage circuit breaker works as expected. We test that:
|
Test that the timeline disk usage circuit breaker works as expected. We test that:
|
||||||
@@ -2762,7 +2761,12 @@ def test_timeline_disk_usage_limit(neon_env_builder: NeonEnvBuilder):
|
|||||||
|
|
||||||
# Create a timeline and endpoint
|
# Create a timeline and endpoint
|
||||||
env.create_branch("test_timeline_disk_usage_limit")
|
env.create_branch("test_timeline_disk_usage_limit")
|
||||||
endpoint = env.endpoints.create_start("test_timeline_disk_usage_limit")
|
endpoint = env.endpoints.create_start(
|
||||||
|
"test_timeline_disk_usage_limit",
|
||||||
|
config_lines=[
|
||||||
|
"neon.lakebase_mode=true",
|
||||||
|
],
|
||||||
|
)
|
||||||
|
|
||||||
# Install the neon extension in the test database. We need it to query perf counter metrics.
|
# Install the neon extension in the test database. We need it to query perf counter metrics.
|
||||||
with closing(endpoint.connect()) as conn:
|
with closing(endpoint.connect()) as conn:
|
||||||
|
|||||||
Reference in New Issue
Block a user