Skip to content

Error in some tests on macOS #61

Open
@js2702

Description

We are seeing some errors while running the tests on macOS. We tested it in both Intel and Arm devices and we are seeing the same failing tests.

For instance in the sqlite_async/test/native/basic_test.dart, both the test named "closing" and "lockTimeout" are failing with the following stacktrace:

00:00 +12 -1: Basic Tests lockTimeout [E]                                                                                                                                                                                                                                                                                 
  SqliteException(14): while executing, unable to open database file, unable to open database file (code 14)
    Causing statement: PRAGMA synchronous = NORMAL, parameters: 
  package:sqlite3/src/implementation/exception.dart 75:3                              throwException
  package:sqlite3/src/implementation/database.dart 244:9                              DatabaseImplementation.execute
  package:sqlite_async/src/common/abstract_open_factory.dart 94:14                    AbstractDefaultSqliteOpenFactory.open
  test/utils/native_test_utils.dart 28:22                                             TestSqliteOpenFactory.open
  package:sqlite_async/src/native/database/native_sqlite_connection_impl.dart 267:33  _sqliteConnectionIsolate

May be worth adding some macOS runners to the github actions tests.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions