Skip to content

Conversation

@rajnish-jauhari
Copy link

Added s390x arch in Makefiles to build multi arch images and
Skipping below tests on s390x because of image unavailability :

  • TestGateway/local-gateway-service
  • TestBookinfo
  • TestMongo
  • TestHipsterShop
  • TestPostgres

cc: @hash-d

…some tests on s390x because of image unavailability
@hash-d hash-d self-requested a review September 18, 2025 20:06
Copy link
Member

@hash-d hash-d left a comment

Choose a reason for hiding this comment

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

For the tests that cannot be run on Z because of missing images, the cluster's architecture should be checked, instead of the local test machine.

If you're running from an x86 VM pointing to a Z cluster, for example, those tests would not be skipped and the test would fail.

)

func TestBookinfo(t *testing.T) {
if runtime.GOARCH == "s390x" {
Copy link
Member

Choose a reason for hiding this comment

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

Checking runtime.GOARCH is ok for testLocalGatewayService, because that's a local test. For TestBookInfo, however, you should be inspecting the cluster's architecture, not the local machine.

Check how that's done for ARM, you can adapt that for Z.

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