test: Add macros for doing memory-usage tests of varying precision, based on platform#7243
Conversation
…y tests. Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
|
/retest |
|
🔨 rebuilding |
|
/retest |
|
🔨 rebuilding |
|
btw this doesn't work yet because we need to restore (and fix) the old but not-totally-functional code that allocated memory and verified we could detect it. |
…memory-usage at all. Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
…rflow behavior. Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
No, the setting for bazel CI just invoke bazel without going through this script. So they are OK. |
Signed-off-by: Joshua Marantz <jmarantz@google.com>
mattklein123
left a comment
There was a problem hiding this comment.
Generally LGTM, will defer to @lizan as build expert!
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
Signed-off-by: Joshua Marantz <jmarantz@google.com>
|
/azp |
Supported commands
See additional documentation. |
|
/azp list |
|
CI/CD Pipelines for this repository: |
|
/azp run envoy-macos |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run envoy-macos |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/azp run envoy-macos |
|
Azure Pipelines successfully started running 1 pipeline(s). |
Signed-off-by: Joshua Marantz <jmarantz@google.com>
|
/azp run envoy-linux |
|
Azure Pipelines successfully started running 1 pipeline(s). |
comments addressed, 2 other senior approvers approved, htuch OOO
Description:
Around June 5, 2019, some of the existing tests that measured exact memory consumption across a series of operations started diverging based on platform. This PR adds new EXPECT-style macros to help tests deal with this. EXPECT_MEMORY_EQ only runs in 'release' builds on CI, where we expect stable, consistent behavior. EXPECT_MEMORY_LE runs on any build with tcmalloc. On other platforms those EXPECT macros print 'info' messages indicating that they are skipped.
Risk Level: low
Testing: //test/... and a few platform variants
Docs Changes:
Release Notes:
Fixes: #7216