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

Test with vshard cluster #364

Closed
DifferentialOrange opened this issue Jun 8, 2023 · 0 comments · Fixed by #381
Closed

Test with vshard cluster #364

DifferentialOrange opened this issue Jun 8, 2023 · 0 comments · Fixed by #381
Assignees

Comments

@DifferentialOrange
Copy link
Member

Now all integration tests (and some unit ones) run on cartridge cluster with roles enabled. crud can work without cartridge with raw vshard clusters. Since cartridge rock won't be supported in Tarantool 3.x, we need to prepare test infrastructure to work without cartridge. On the other hand, cartridge rock will be supported in Tarantool 2.11 LTS and crud module is not planned to be a Tarantool 3.x exclusive in the nearest future, so integration tests with cartridge should remain as well.

Definition of done: all test groups that use cartridge cluster must be parametrized to run with crud+cartridge cluster and crud+vshard cluster with no cartridge; reusable CI pipeline installs cartridge for 2.x integration and not install cartridge for 3.x integration.

@oleg-jukovec oleg-jukovec self-assigned this Oct 4, 2023
oleg-jukovec added a commit that referenced this issue Oct 4, 2023
oleg-jukovec added a commit that referenced this issue Oct 5, 2023
oleg-jukovec added a commit that referenced this issue Oct 5, 2023
The patch updates all tests to work with `vshard` and `cartridge`
in the same time. But tests of the `cartridge` role of the cartridge
or special features are skipping for `vshard`.

If `cartridge` is not installed or not supported (Tarantool 3.0+),
tests will run only with `vshard`.

The source of `vshard_helpers` folder is `vshard` repository [1] with
minor modifications.

1. https://github.com/tarantool/vshard/tree/b3c27b32637863e9a03503e641bb7c8c69779a00/test/luatest_helpers

Closes #364
oleg-jukovec added a commit that referenced this issue Oct 5, 2023
The patch updates all tests to work with `vshard` and `cartridge`
at the same time. But tests of the `cartridge` role of the cartridge
or special features are skipping for `vshard`.

If `cartridge` is not installed or not supported (Tarantool 3.0+),
tests will run only with `vshard`.

The source of `vshard_helpers` folder is `vshard` repository [1] with
minor modifications.

1. https://github.com/tarantool/vshard/tree/b3c27b32637863e9a03503e641bb7c8c69779a00/test/luatest_helpers

Closes #364
oleg-jukovec added a commit that referenced this issue Oct 5, 2023
The patch updates all tests to work with `vshard` and `cartridge`
at the same time. But tests of the `cartridge` role of the cartridge
or special features are skipping for `vshard`.

If `cartridge` is not installed or not supported (Tarantool 3.0+),
tests will run only with `vshard`.

The source of `vshard_helpers` folder is `vshard` repository [1] with
minor modifications.

1. https://github.com/tarantool/vshard/tree/b3c27b32637863e9a03503e641bb7c8c69779a00/test/luatest_helpers

Closes #364
oleg-jukovec added a commit that referenced this issue Oct 9, 2023
The patch updates all tests to work with `vshard` and `cartridge`
at the same time. But tests of the `cartridge` role of the cartridge
or special features are skipping for `vshard`.

If `cartridge` is not installed or not supported (Tarantool 3.0+),
tests will run only with `vshard`.

The source of `vshard_helpers` folder is `vshard` repository [1] with
minor modifications.

1. https://github.com/tarantool/vshard/tree/b3c27b32637863e9a03503e641bb7c8c69779a00/test/luatest_helpers

Closes #364
DifferentialOrange pushed a commit that referenced this issue Oct 9, 2023
The patch updates all tests to work with `vshard` and `cartridge`
at the same time. But tests of the `cartridge` role of the cartridge
or special features are skipping for `vshard`.

If `cartridge` is not installed or not supported (Tarantool 3.0+),
tests will run only with `vshard`.

The source of `vshard_helpers` folder is `vshard` repository [1] with
minor modifications.

1. https://github.com/tarantool/vshard/tree/b3c27b32637863e9a03503e641bb7c8c69779a00/test/luatest_helpers

Closes #364
DifferentialOrange added a commit that referenced this issue Oct 16, 2023
Overview

  This release improves experience for VShard clusters users and
  Tarantool 3 users. It also introduces schema introspection API.

New features

  * Space schema introspection API `crud.schema` (#380).

Bugfixes

  * Return explicit error for `*_many` call with
    no tuples/objects (#377).
  * `crud.readview` resource cleanup on garbage collect (#379).
  * VShard storage user have not execution rights for
    internal functions (#366).

Infrastructure

  * `deps.sh` installs the `vshard` instead of the `cartridge`
    by default (#364). You could to specify an environment variable
    `CARTIRDGE_VERSION` to install the `cartridge` and run tests cases
    with it.
  * `doc/playground.lua` does not work with Tarantool 3 (#371).
  * Tests with Tarantool 3 (#364).
  * Quickstart section in the README.md focuses on usage with `vshard`
    instead of `Cartridge` (#366).
DifferentialOrange added a commit that referenced this issue Oct 16, 2023
Overview

  This release improves experience for VShard clusters users and
  Tarantool 3 users. It also introduces schema introspection API.

New features

  * Space schema introspection API `crud.schema` (#380).

Bugfixes

  * Return explicit error for `*_many` call with
    no tuples/objects (#377).
  * `crud.readview` resource cleanup on garbage collect (#379).
  * VShard storage user have not execution rights for
    internal functions (#366).
  * Compatibility with Tarantool 3.0 tuple objects (#387).

Infrastructure

  * `deps.sh` installs the `vshard` instead of the `cartridge`
    by default (#364). You could to specify an environment variable
    `CARTIRDGE_VERSION` to install the `cartridge` and run tests cases
    with it.
  * `doc/playground.lua` does not work with Tarantool 3 (#371).
  * Tests with Tarantool 3 (#364).
  * Quickstart section in the README.md focuses on usage with `vshard`
    instead of `Cartridge` (#366).
DifferentialOrange added a commit that referenced this issue Oct 16, 2023
Overview

  This release improves experience for VShard clusters users and
  Tarantool 3 users. It also introduces schema introspection API.

New features

  * Space schema introspection API `crud.schema` (#380).

Bugfixes

  * Return explicit error for `*_many` call with
    no tuples/objects (#377).
  * `crud.readview` resource cleanup on garbage collect (#379).
  * VShard storage user have not execution rights for
    internal functions (#366).
  * Compatibility with Tarantool 3.0 tuple objects (#387).

Infrastructure

  * `deps.sh` installs the `vshard` instead of the `cartridge`
    by default (#364). You could to specify an environment variable
    `CARTIRDGE_VERSION` to install the `cartridge` and run tests cases
    with it.
  * `doc/playground.lua` does not work with Tarantool 3 (#371).
  * Tests with Tarantool 3 (#364).
  * Quickstart section in the README.md focuses on usage with `vshard`
    instead of `Cartridge` (#366).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants