Do test_system first.

This commit is contained in:
Itamar Turner-Trauring 2020-09-03 11:04:58 -04:00
parent bf2ecf5ff1
commit 1d442372c6
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,7 @@ from __future__ import print_function
import os, re, sys, time, json
from functools import partial
from unittest import skipIf
from bs4 import BeautifulSoup
@ -654,6 +655,7 @@ def _render_section_values(values):
class SystemTestMixin(pollmixin.PollMixin, testutil.StallMixin):
@skipIf(os.environ.get("SKIP_TEST_SYSTEM"), "SKIP_TEST_SYSTEM was set.")
def setUp(self):
self.port_assigner = SameProcessStreamEndpointAssigner()
self.port_assigner.setUp()

View File

@ -62,7 +62,8 @@ commands =
# Python 3.x yet.
!py36: tahoe --version
!coverage: trial {env:TAHOE_LAFS_TRIAL_ARGS:--rterrors} {posargs:{env:TEST_SUITE}}
!coverage: trial {env:TAHOE_LAFS_TRIAL_ARGS:--rterrors} allmydata.test.test_system
!coverage: env SKIP_TEST_SYSTEM=1 trial {env:TAHOE_LAFS_TRIAL_ARGS:--rterrors} {posargs:{env:TEST_SUITE}}
# measuring coverage is somewhat slower than not measuring coverage
# so only do it on request.