Changeset 05a3fd9 in trunk


Ignore:
Timestamp:
2023-05-04T16:49:03Z (2 years ago)
Author:
Itamar Turner-Trauring <itamar@…>
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.
Message:

Merge remote-tracking branch 'origin/master' into 4016-http-storage-content-type

Files:
1 added
5 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified .github/workflows/ci.yml

    r3cc80ae2 r05a3fd9  
    170170            force-foolscap: false
    171171          - os: windows-latest
    172             python-version: "3.9"
     172            python-version: "3.11"
    173173            force-foolscap: false
    174174          # 22.04 has some issue with Tor at the moment:
    175175          # https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3943
    176176          - os: ubuntu-20.04
    177             python-version: "3.11"
     177            python-version: "3.10"
    178178            force-foolscap: false
    179179    steps:
  • TabularUnified integration/conftest.py

    r3cc80ae2 r05a3fd9  
    5151from allmydata.node import read_config
    5252
    53 # No reason for HTTP requests to take longer than two minutes in the
     53# No reason for HTTP requests to take longer than four minutes in the
    5454# integration tests. See allmydata/scripts/common_http.py for usage.
    55 os.environ["__TAHOE_CLI_HTTP_TIMEOUT"] = "120"
     55os.environ["__TAHOE_CLI_HTTP_TIMEOUT"] = "240"
    5656
    5757# Make Foolscap logging go into Twisted logging, so that integration test logs
  • TabularUnified setup.py

    r3cc80ae2 r05a3fd9  
    419419              "python-subunit==1.4.2",
    420420              "junitxml==0.7",
    421               "coverage ~= 5.0",
     421              "coverage==7.2.5",
    422422          ],
    423423
  • TabularUnified src/allmydata/test/common_system.py

    r3cc80ae2 r05a3fd9  
    820820
    821821        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:
    824824                f.write(
    825825                    "[client]\n"
     
    837837        # now find out where the web port was
    838838        self.webish_url = self.clients[0].getServiceNamed("webish").getURL()
    839         if self.numclients >=4:
     839        if self.numclients >=2:
    840840            # 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()
    842842
    843843    def _generate_config(self, which, basedir, force_foolscap=False):
     
    855855
    856856            # client 0 runs a webserver and a helper
    857             # client 3 runs a webserver but no helper
    858             ("node", "web.port"): {0, 3},
     857            # client 1 runs a webserver but no helper
     858            ("node", "web.port"): {0, 1},
    859859            ("node", "timeout.keepalive"): {0},
    860             ("node", "timeout.disconnect"): {3},
     860            ("node", "timeout.disconnect"): {1},
    861861
    862862            ("helper", "enabled"): {0},
  • TabularUnified src/allmydata/test/test_system.py

    r3cc80ae2 r05a3fd9  
    783783    def test_filesystem(self):
    784784        self.data = LARGE_DATA
    785         d = self.set_up_nodes()
     785        d = self.set_up_nodes(2)
    786786        def _new_happy_semantics(ign):
    787787            for c in self.clients:
     
    17471747        return d
    17481748
     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
    17491753    def test_filesystem_with_cli_in_subprocess(self):
    17501754        # 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.