Skip to content

Support running integration tests against an external Valkey server#102

Open
enjoy-binbin wants to merge 2 commits into
valkey-io:unstablefrom
enjoy-binbin:update
Open

Support running integration tests against an external Valkey server#102
enjoy-binbin wants to merge 2 commits into
valkey-io:unstablefrom
enjoy-binbin:update

Conversation

@enjoy-binbin
Copy link
Copy Markdown
Member

In #70, we modified the Python code to support it, but some content was
missing.

  • README: document the VALKEY_EXTERNAL_SERVER / VALKEY_HOST / VALKEY_PORT
    environment variables for running integration tests against an
    already-running Valkey server with module loaded.

  • tst/integration/run.sh: drop the "Kill old running test" pkill block
    so it does not terminate the user-managed external valkey-server
    before tests start.

  • CMakeLists.txt: bump VALKEY_TEST_FRAMEWORK_COMMIT from a pinned hash
    to "unstable" to pull in the external-server support that is not
    available in the previously pinned commit.

In valkey-io#70, we modified the Python code to support it, but some content was
missing.

- README: document the VALKEY_EXTERNAL_SERVER / VALKEY_HOST / VALKEY_PORT
  environment variables for running integration tests against an
  already-running Valkey server with module loaded.

- tst/integration/run.sh: drop the "Kill old running test" pkill block
  so it does not terminate the user-managed external valkey-server
  before tests start.

- CMakeLists.txt: bump VALKEY_TEST_FRAMEWORK_COMMIT from a pinned hash
  to "unstable" to pull in the external-server support that is not
  available in the previously pinned commit.

Signed-off-by: Binbin <binloveplay1314@qq.com>
@enjoy-binbin enjoy-binbin requested a review from roshkhatri June 3, 2026 08:41
Copy link
Copy Markdown
Member

@roshkhatri roshkhatri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One small comment also,
Do you think we need a ci test for
everything else is good

Comment thread CMakeLists.txt Outdated
Co-authored-by: Roshan Khatri <117414976+roshkhatri@users.noreply.github.com>
Signed-off-by: Binbin <binloveplay1314@qq.com>
@enjoy-binbin
Copy link
Copy Markdown
Member Author

Do you think we need a ci test for

Yes, that would be great if we have one.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants