Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updateToSchemaVersion1100 test is flaky #7022

Open
1 task done
brjsp opened this issue Sep 20, 2024 · 3 comments
Open
1 task done

updateToSchemaVersion1100 test is flaky #7022

brjsp opened this issue Sep 20, 2024 · 3 comments
Labels

Comments

@brjsp
Copy link

brjsp commented Sep 20, 2024

Using a supported version?

  • I have searched searched open and closed issues for duplicates.
  • I am building Signal from source

Optimize markAllCallHistoryReadInConversation occasionally fails with this error message:

  1) SQL/updateToSchemaVersion1100
       Optimize markAllCallHistoryReadInConversation
         is fast:

      AssertionError: expected 59.411166000001685 to be below 50
      + expected - actual

      -59.411166000001685
      +50
      
      at Context.<anonymous> (ts/test-node/sql/migration_1100_test.js:1:2204)
      at process.processImmediate (node:internal/timers:483:21)

Signal version

7.25.0 and a few previous ones

Operating system

Linux (various openSUSE/Fedora)

@mosbat
Copy link

mosbat commented Sep 23, 2024

I had this error message but after installing the nodeJS version stated in the documentation, it was gone. You can find info here: https://github.com/signalapp/Signal-Desktop/blob/main/.nvmrc

Let me know if this fixed the problem.

@brjsp
Copy link
Author

brjsp commented Sep 23, 2024

@mosbat the advice is nonsense — the tests are run under Electron, not Node, so the Node version is irrelevant.

anyway we'll probably just patch out that test since it seems to measure some timing and our build machines are rather slow.

@mosbat
Copy link

mosbat commented Sep 23, 2024

@brjsp context matters but you didn't mention anything about Electron

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants