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

server: minor improvement around TestTenantInterface #107086

Merged
merged 4 commits into from
Jul 18, 2023

Commits on Jul 18, 2023

  1. server: clean up the comments a bit

    This mostly adds `serverutils.` prefix to the interface names which
    allows for easier navigation (at least in the GoLand).
    
    Release note: None
    yuzefovich committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    bd6ded9 View commit details
    Browse the repository at this point in the history
  2. serverutils: move TracerI into TestTenantInterface

    Tracer method is already in TestTenantInterface.
    
    Release note: None
    yuzefovich committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    609230c View commit details
    Browse the repository at this point in the history
  3. server: fix StartedDefaultTestTenant in an error case

    Previously, if `TestServer.Start` returned an error while the default
    test tenant wasn't disabled, we'd incorrectly consider that we had
    started the default test tenant. This, then, could lead to some problems
    (e.g. trying to access non-existing tenant which could lead to a crash).
    This is fixed by checking whether we have test tenants.
    
    Release note: None
    yuzefovich committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    e0b83fd View commit details
    Browse the repository at this point in the history
  4. serverccl: fix TestVerifyPassword for test tenant

    We simply needed to use the ExecutorConfig of the test tenant if it was
    started.
    
    Release note: None
    yuzefovich committed Jul 18, 2023
    Configuration menu
    Copy the full SHA
    dc6b2dc View commit details
    Browse the repository at this point in the history