Skip to content

Commit

Permalink
Run tests in classic mode failing with keepalive
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrack committed Nov 4, 2021
1 parent eb7a397 commit 08388a1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tools/regtesting/do_regtest.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,6 @@ async def main() -> None:
print(f"Skipping {batch.name} because its requirements are not satisfied.")
elif not any(re.match(p, batch.name) for p in cfg.restrictdirs):
num_restrictdirs += 1
elif cfg.keepalive and batch.name in KEEPALIVE_SKIP_DIRS:
print(f"Skipping {batch.name} because it doesn't work with --keepalive.")
else:
tasks.append(asyncio.get_event_loop().create_task(run_batch(batch, cfg)))

Expand Down Expand Up @@ -452,7 +450,7 @@ async def run_unittests(batch: Batch, cfg: Config) -> List[TestResult]:

# ======================================================================================
async def run_regtests(batch: Batch, cfg: Config) -> List[TestResult]:
if cfg.keepalive:
if cfg.keepalive and not batch.name in KEEPALIVE_SKIP_DIRS:
return await run_regtests_keepalive(batch, cfg)
else:
return await run_regtests_classic(batch, cfg)
Expand Down

0 comments on commit 08388a1

Please sign in to comment.