Skip to content

Slow Docker-based Db2JobRepositoryIntegrationTests due to emulation #4828

Open
@fmbenhassine

Description

@fmbenhassine

This issue is to find the best way to test DB2 job repository support without impacting the build performance due to the following warning:

[INFO] Running org.springframework.batch.core.test.repository.Db2JobRepositoryIntegrationTests
[main] INFO tc.icr.io/db2_community/db2:11.5.9.0 - Creating container for image: icr.io/db2_community/db2:11.5.9.0
[main] INFO org.testcontainers.utility.RegistryAuthLocator - Credential helper/store (docker-credential-desktop) does not have credentials for icr.io
[main] INFO tc.icr.io/db2_community/db2:11.5.9.0 - Container icr.io/db2_community/db2:11.5.9.0 is starting: c1ec17e0e6a8a3c1f14086528b766bd3bbd2695e3ed3fb36e9ad8168437c7739
[main] WARN tc.icr.io/db2_community/db2:11.5.9.0 - The architecture 'amd64' for image 'icr.io/db2_community/db2:11.5.9.0' (ID sha256:dee45baf523a6261bc8837574f37568b0f81c727d36f2076cd89d94b31deda8e) does not match the Docker server architecture 'arm64'. This will cause the container to execute much more slowly due to emulation and may lead to timeout failures.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions