Fix comments in tests

This commit is contained in:
Heikki Linnakangas
2021-12-21 22:38:33 +02:00
parent bcf80eaa95
commit 927587cec8
2 changed files with 3 additions and 4 deletions

View File

@@ -10,9 +10,8 @@ from fixtures.log_helper import log
pytest_plugins = ("fixtures.zenith_fixtures")
# Check that dead minority doesn't prevent the commits: execute insert n_inserts
# times, with fault_probability chance of getting a wal acceptor down or up
# along the way. 2 of 3 are always alive, so the work keeps going.
# Test restarting page server, while safekeeper and compute node keep
# running.
def test_pageserver_restart(zenith_env_builder: ZenithEnvBuilder):
# One safekeeper is enough for this test.
zenith_env_builder.num_safekeepers = 1

View File

@@ -104,7 +104,7 @@ def pytest_configure(config):
numprocesses = config.getoption('numprocesses')
if numprocesses is not None and BASE_PORT + numprocesses * WORKER_PORT_NUM > 32768: # do not use ephemeral ports
raise Exception('Too many workers configured. Cannot distrubute ports for services.')
raise Exception('Too many workers configured. Cannot distribute ports for services.')
# find the base directory (currently this is the git root)
global base_dir