obkv-table-client-rs icon indicating copy to clipboard operation
obkv-table-client-rs copied to clipboard

Integration tests

Open ShiKaiWi opened this issue 2 years ago • 3 comments

Check Before Asking

  • [X] Please check the issue list and confirm this feature is encountered for the first time.
  • [X] Please try full text in English and attach precise description.

Description

Currently, there are no integration tests for this project, and this is necessary for any large change set from community contributors. And I guess the main blocker from building an automatic integration tests is that there is an easy way to deploy an OceanBase cluster for tests.

Other Information

@WeiXinChan @IHEII Any clues to deploy an OceanBase cluster for integration tests?

ShiKaiWi avatar Mar 06 '23 09:03 ShiKaiWi

If a standalone oceanbase server is OK for testing, you can try https://hub.docker.com/r/oceanbase/oceanbase-ce with a self-hosted github action runner or azure pipelines.

whhe avatar Mar 06 '23 09:03 whhe

If a standalone oceanbase server is OK for testing, you can try https://hub.docker.com/r/oceanbase/oceanbase-ce with a self-hosted github action runner or azure pipelines.

If so, the client should support the access to a standalone OceanBase server, and is it possible?

ShiKaiWi avatar Mar 06 '23 11:03 ShiKaiWi

If a standalone oceanbase server is OK for testing, you can try https://hub.docker.com/r/oceanbase/oceanbase-ce with a self-hosted github action runner or azure pipelines.

If so, the client should support the access to a standalone OceanBase server, and is it possible?

We have plans to deal with this problem and will update here if there is progress. By the way, a standalone observer may not meet the requirements. Integration tests should be able to pull the latest open-source code to deploy an observer every time it is tested, and there may have concurrency problems

IHEII avatar Mar 06 '23 11:03 IHEII