Skip to content

Let' use shared_cluster based on share_cluster.json variable and update PyTest#293

Merged
phracek merged 3 commits into
masterfrom
use_share_cluster
May 15, 2026
Merged

Let' use shared_cluster based on share_cluster.json variable and update PyTest#293
phracek merged 3 commits into
masterfrom
use_share_cluster

Conversation

@phracek
Copy link
Copy Markdown
Member

@phracek phracek commented May 13, 2026

Let's decide is shared_cluster is used by variable in file /root/shared_cluster.json
delivered during the instance preparation.

Update also PyTest suite like we do in mariadb-container or mysql-container or the rest.

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
@phracek
Copy link
Copy Markdown
Member Author

phracek commented May 13, 2026

[test-openshift-pytest]

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 13, 2026

Pull Request validation

Failed

🔴 Review - Missing review from a member (1 required)

Success

🟢 CI - All checks have passed


Triggered by Workflow Run

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 13, 2026

Testing Farm results

namecomposearchstatusstarted (UTC)timelogs
RHEL10 - PyTest - OpenShift 4 - 2.4RHEL-10.2-Nightlyx86_64✅ passed15.05.2026 08:42:0359min 48stest pipeline
RHEL8 - PyTest - OpenShift 4 - 2.4RHEL-8.10.0-Nightlyx86_64✅ passed15.05.2026 07:40:4822min 22stest pipeline
RHEL9 - PyTest - OpenShift 4 - 2.4RHEL-9.8.0-Nightlyx86_64✅ passed15.05.2026 07:40:5128min 59stest pipeline

@phracek phracek changed the title Let' use shared_cluster based on share_cluster.json variable Let' use shared_cluster based on share_cluster.json variable and update PyTest May 14, 2026
in the rest containers.

Inspiration is taken from mariadb-container and mysql-container.

Let's use conftest.py instead of a lot of duplication in
alone PyTest files

Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
@phracek
Copy link
Copy Markdown
Member Author

phracek commented May 14, 2026

The OpenShift PyTests have more verbose logs like we have in the other containers.

[test-openshift-pytest]

@phracek
Copy link
Copy Markdown
Member Author

phracek commented May 14, 2026

@frenzymadness Can you please have a look at it? It should be a super simply. Hopefully I have learned a lot from the previous containers reviews ;)

Copy link
Copy Markdown
Member

@frenzymadness frenzymadness 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 nitpick and there is also a typo in the first commit message - there is "s" missing in "Let's".

But it looks good to me otherwise.

Comment thread test/conftest.py Outdated
Signed-off-by: Petr "Stone" Hracek <phracek@redhat.com>
@phracek
Copy link
Copy Markdown
Member Author

phracek commented May 15, 2026

[test-openshift-pytest]

@phracek phracek merged commit 8eebc66 into master May 15, 2026
6 checks passed
@phracek phracek deleted the use_share_cluster branch May 15, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants