Skip to content
Snippets Groups Projects

Resolve #3494332 "Try to pass"

Closed catch requested to merge issue/drupal-3494332:3494332-try-to-pass into 11.x
2 unresolved threads

Closes #3494332

Merge request reports

Code Quality is loading
Test summary results are being parsed

Closed by quietonequietone 3 months ago (Jan 27, 2025 10:26pm UTC)

Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • catch added 1 commit

    added 1 commit

    • bc5b1e49 - Revert changes to StandardPerformanceTest.

    Compare with previous version

  • catch resolved all threads

    resolved all threads

  • catch added 1 commit

    added 1 commit

    • 1195075e - Revert changes to run-tests.sh

    Compare with previous version

  • catch @catch started a thread on the diff
  • 94 94 SE_NODE_OVERRIDE_MAX_SESSIONS: "true"
    95 95 SE_NODE_MAX_SESSIONS: "16"
    96 96 SE_SESSION_RETRY_INTERVAL: "1"
    97 SE_SESSION_REQUEST_TIMEOUT: "10"
    98 SE_START_XVFB: "false"
    97 SE_SESSION_REQUEST_TIMEOUT: "60"
    • Author Maintainer

      Self review. Whatever the timeout was set at before, it was having almost no effect because even a 300 second timeout would not result in a session getting picked up. And when it did time out, the test would just be skipped and we'd not know.

      I increased it to 60 because just in case a test method does get stuck waiting we don't want tests to fail, but don't really want to set it higher because if we do get a similar or similar-ish problem with selenium again, I think we'd want to see the timeouts happen and not wait for minute. We can always tweak this later.

    • Please register or sign in to reply
  • 60 59 try {
    61 60 return parent::initMink();
    62 61 }
    63 catch (DriverException $e) {
    64 if ($this->minkDefaultDriverClass === DrupalSelenium2Driver::class) {
    65 $this->markTestSkipped("The test wasn't able to connect to your webdriver instance. For more information read core/tests/README.md.\n\nThe original message while starting Mink: {$e->getMessage()}");
    66 }
    67 else {
    68 throw $e;
    69 }
    70 }
    71 62 catch (\Exception $e) {
    72 $this->markTestSkipped('An unexpected error occurred while starting Mink: ' . $e->getMessage());
    63 $this->mink = NULL;
    • can't RTBC, because this part is from me.

      If it's now working reliably with the XVBF change then it might be OK to get this in. I think there is an option that we only commit the variable changes and do some more testing with this.

      A comment on the mink reset might also be useful (to avoid breaking in tearDown() and hiding the real error)

      What about contrib? A lot less jobs usually, but it looks like this starts to happen already with a pretty low amount of tests. We should probably create an issue to check the gitlab_templates variables?

    • Please register or sign in to reply
  • catch added 1 commit

    added 1 commit

    Compare with previous version

  • closed

  • Please register or sign in to reply
    Loading