Skip to content

Conversation

@cognifloyd
Copy link
Member

@cognifloyd cognifloyd commented Sep 16, 2024

Adds a new env var for tests: ST2TESTS_SYSTEM_USER. When set, this will override system_user.user in st2 conf so that you can run tests on systems that do not have the stanley user. When running tests locally, use the following to set system user to the current user:

export ST2TESTS_SYSTEM_USER=$(id -un)

This follows the naming convention for test vars introduced in #5707 which introduced ST2TESTS_PARALLEL_SLOT.

These commits were extracted from my wip work in #6202.

@cognifloyd cognifloyd added this to the 3.9.0 milestone Sep 16, 2024
@cognifloyd cognifloyd self-assigned this Sep 16, 2024
@pull-request-size pull-request-size bot added the size/M PR that changes 30-99 lines. Good size to review. label Sep 16, 2024
@cognifloyd cognifloyd requested a review from a team September 16, 2024 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/M PR that changes 30-99 lines. Good size to review. tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants