Skip to content

Conversation

@sargun
Copy link
Contributor

@sargun sargun commented Sep 16, 2021

This adds conformance tests for automatic cross mounting. Usually, the test
should not run as it can give a false positive. The OCI_AUTOMATIC_CROSSMOUNT
must be set based on how the registry is expected to be configured.

Signed-off-by: Sargun Dhillon [email protected]

This adds conformance tests for automatic cross mounting. Usually, the test
should not run as it can give a false positive. The OCI_AUTOMATIC_CROSSMOUNT
must be set based on how the registry is expected to be configured.

Signed-off-by: Sargun Dhillon <[email protected]>
@sargun
Copy link
Contributor Author

sargun commented Sep 16, 2021

"Fixes": #282

Comment on lines +327 to +328
automaticCrossmountVal, runAutomaticCrossmountTest = os.LookupEnv(envVarAutomaticCrossmount)
automaticCrossmountEnabled, _ = strconv.ParseBool(automaticCrossmountVal)
Copy link
Contributor

Choose a reason for hiding this comment

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

So if I understand correctly, the 201 test will only run if both runAutomaticCrossmountTest and automaticCrossmountEnabled are true?

and the 202 test if runAutomaticCrossmountTest is true and automaticCrossmountEnabled is false?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct.

@vbatts vbatts merged commit dc8c8b4 into opencontainers:main Sep 19, 2021
@sargun sargun deleted the add-conformance-for-crossmount branch September 24, 2021 17:11
@jdolitsky jdolitsky mentioned this pull request Sep 15, 2022
@sudo-bmitch sudo-bmitch mentioned this pull request Feb 1, 2024
8 tasks
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.

4 participants