Skip to content

Support running integration tests against an external Valkey server#102

Merged
roshkhatri merged 2 commits into
valkey-io:unstablefrom
enjoy-binbin:update
Jun 9, 2026
Merged

Support running integration tests against an external Valkey server#102
roshkhatri merged 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

@roshkhatri roshkhatri left a comment

Copy link
Copy Markdown
Member

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.

@roshkhatri roshkhatri left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@roshkhatri roshkhatri merged commit 5e98983 into valkey-io:unstable Jun 9, 2026
19 checks passed
@enjoy-binbin enjoy-binbin deleted the update branch June 9, 2026 03:50
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