Changeset 05a3fd9 in trunk
- Timestamp:
- 2023-05-04T16:49:03Z (2 years ago)
- Branches:
- master
- Children:
- 0b992c4
- Parents:
- 3cc80ae2 (diff), ff1b7918 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent. - Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified .github/workflows/ci.yml ¶
r3cc80ae2 r05a3fd9 170 170 force-foolscap: false 171 171 - os: windows-latest 172 python-version: "3. 9"172 python-version: "3.11" 173 173 force-foolscap: false 174 174 # 22.04 has some issue with Tor at the moment: 175 175 # https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3943 176 176 - os: ubuntu-20.04 177 python-version: "3.1 1"177 python-version: "3.10" 178 178 force-foolscap: false 179 179 steps: -
TabularUnified integration/conftest.py ¶
r3cc80ae2 r05a3fd9 51 51 from allmydata.node import read_config 52 52 53 # No reason for HTTP requests to take longer than twominutes in the53 # No reason for HTTP requests to take longer than four minutes in the 54 54 # integration tests. See allmydata/scripts/common_http.py for usage. 55 os.environ["__TAHOE_CLI_HTTP_TIMEOUT"] = " 120"55 os.environ["__TAHOE_CLI_HTTP_TIMEOUT"] = "240" 56 56 57 57 # Make Foolscap logging go into Twisted logging, so that integration test logs -
TabularUnified setup.py ¶
r3cc80ae2 r05a3fd9 419 419 "python-subunit==1.4.2", 420 420 "junitxml==0.7", 421 "coverage ~= 5.0",421 "coverage==7.2.5", 422 422 ], 423 423 -
TabularUnified src/allmydata/test/common_system.py ¶
r3cc80ae2 r05a3fd9 820 820 821 821 self.helper_furl = helper_furl 822 if self.numclients >= 4:823 with open(os.path.join(basedirs[ 3], 'tahoe.cfg'), 'a+') as f:822 if self.numclients >= 2: 823 with open(os.path.join(basedirs[1], 'tahoe.cfg'), 'a+') as f: 824 824 f.write( 825 825 "[client]\n" … … 837 837 # now find out where the web port was 838 838 self.webish_url = self.clients[0].getServiceNamed("webish").getURL() 839 if self.numclients >= 4:839 if self.numclients >=2: 840 840 # and the helper-using webport 841 self.helper_webish_url = self.clients[ 3].getServiceNamed("webish").getURL()841 self.helper_webish_url = self.clients[1].getServiceNamed("webish").getURL() 842 842 843 843 def _generate_config(self, which, basedir, force_foolscap=False): … … 855 855 856 856 # client 0 runs a webserver and a helper 857 # client 3runs a webserver but no helper858 ("node", "web.port"): {0, 3},857 # client 1 runs a webserver but no helper 858 ("node", "web.port"): {0, 1}, 859 859 ("node", "timeout.keepalive"): {0}, 860 ("node", "timeout.disconnect"): { 3},860 ("node", "timeout.disconnect"): {1}, 861 861 862 862 ("helper", "enabled"): {0}, -
TabularUnified src/allmydata/test/test_system.py ¶
r3cc80ae2 r05a3fd9 783 783 def test_filesystem(self): 784 784 self.data = LARGE_DATA 785 d = self.set_up_nodes( )785 d = self.set_up_nodes(2) 786 786 def _new_happy_semantics(ign): 787 787 for c in self.clients: … … 1747 1747 return d 1748 1748 1749 # In CI this test can be very slow, so give it a longer timeout: 1750 test_filesystem.timeout = 360 # type: ignore[attr-defined] 1751 1752 1749 1753 def test_filesystem_with_cli_in_subprocess(self): 1750 1754 # We do this in a separate test so that test_filesystem doesn't skip if we can't run bin/tahoe.
Note: See TracChangeset
for help on using the changeset viewer.