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

sql: adjust a couple of memory monitoring tests #100550

Merged
merged 1 commit into from
Apr 4, 2023

Commits on Apr 4, 2023

  1. sql: adjust a couple of memory monitoring tests

    This commit adjusts a couple of memory monitoring related tests.
    
    `TestAggregatesMonitorMemory` has been rewritten to observe the correct
    memory monitor via `crdb_internal.node_memory_monitors` virtual table.
    
    `TestEvaluatedMemoryIsChecked` is just straight up removed. Initially,
    this test was expected to verify that builtin functions like `repeat`
    perform memory accounting of the intermediate result via our memory
    accounting system. However, that changed long time ago in 2b00f15
    and now such builtins estimate their result size and return
    `errStringTooLarge` error, so the test was no longer verifying what it
    intended. This commit removes this test since we do verify the behavior
    introduced in 2b00f15 elsewhere (in the
    logic tests).
    
    Release note: None
    yuzefovich committed Apr 4, 2023
    Configuration menu
    Copy the full SHA
    7d04684 View commit details
    Browse the repository at this point in the history