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

Allow setting group provider in tests #15595

Merged
merged 1 commit into from
Jan 5, 2023

Conversation

lukasz-walkiewicz
Copy link
Member

Description

Additional context and related issues

Release notes

(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

# Section
* Fix some things. ({issue}`issuenumber`)

@@ -700,7 +700,7 @@ public CostCalculator getEstimatedExchangesCostCalculator()
}

@Override
public TestingGroupProvider getGroupProvider()
Copy link
Member

Choose a reason for hiding this comment

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

getGroupProviderManager?

Copy link
Member Author

Choose a reason for hiding this comment

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

I've used the same "naming convention" as in:

    @Override
    public TestingAccessControlManager getAccessControl()
    {
        return accessControl;
    }

Should I change both?

Copy link
Member

Choose a reason for hiding this comment

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

No as TestingAccessControlManager is a AccessControl. Same with GroupProvider. So your code is good. Thanks.

@kokosing kokosing merged commit f35ccff into trinodb:master Jan 5, 2023
@github-actions github-actions bot added this to the 406 milestone Jan 5, 2023
@lukasz-walkiewicz lukasz-walkiewicz deleted the set-group-provider branch January 16, 2023 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants