Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab unit test failures #658

Open
gnl42 opened this issue Dec 29, 2024 · 2 comments
Open

Gitlab unit test failures #658

gnl42 opened this issue Dec 29, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@gnl42
Copy link
Contributor

gnl42 commented Dec 29, 2024

Hi @BeckerFrank, I'm seeing these Gitlab test failures against my multipass setup for RestfulGitlabClientTest:

method expected actual
testGetUsers() "private_profile": false, "private_profile": true,
testgetConfiguration() "ci_id_token_sub_claim_components": ["project_path", "ref_type", "ref" ],
testGetGroups() "default_branch_protection_defaults": {}, "default_branch_protection_defaults": {"allowed_to_push": [{ "access_level": 40}], "allow_force_push": false, "allowed_to_merge": [ { "access_level": 40 } ], "developer_can_initial_push": false },

I don't know if it is my multipass build, changes in the test data, the updated Jenkins instance, or ...

Thanks

@gnl42 gnl42 added the bug Something isn't working label Dec 29, 2024
@BeckerFrank
Copy link
Contributor

Hi @gnl42, I think we need to change the TestData!

In the tests I remove some known attributes where I know that the Value must not match (like creation timestamp) all other are in the compare. So If we have a failure I think we have a newer gitlab Instance with a changed behavior.
Yor setup should fav 17.4.0 and no longer 16.11.1.

If you want to make sure that I have missed to change the testdata, you can change line 117 of mylyn_setup.yml.

If not , I can verify this next year. 😄

@gnl42
Copy link
Contributor Author

gnl42 commented Jan 5, 2025

I think I'll leave it up to you to decide which side of the compare has the correct value and make the appropriate changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants