> Please review this test enhancement. > Implemented the padding-tolerant Unified Logging assertions. > A bunch of Unified Logging assertions do not account for possible extra > padding in the `[<tags>]` section. > > Changed short-tag UL assertions from rigid `shouldContain(...)` to > `shouldMatch(...)` with patterns like: > > \[class,load *\] ... > > > Covered short categories including `class,load`, `nmt`, `pagesize`, `aot`, > `jni`, `cds`, and `trimnative`. I left remaining `shouldContain()` hits alone > where the tag set is long enough - `class,resolve`, `verification`, > `gc,heap,coops`, etc.). > > Also updated a couple of existing rigid `shouldMatch()` UL regexes for the > same padding issue. > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai).
Ivan Bereziuk has updated the pull request incrementally with one additional commit since the last revision: tolarate padding for Unified Logiging [<log_level>] checks ------------- Changes: - all: https://git.openjdk.org/jdk/pull/31338/files - new: https://git.openjdk.org/jdk/pull/31338/files/45b0dee4..bd3eca0b Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=31338&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=31338&range=00-01 Stats: 35 lines in 10 files changed: 3 ins; 0 del; 32 mod Patch: https://git.openjdk.org/jdk/pull/31338.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/31338/head:pull/31338 PR: https://git.openjdk.org/jdk/pull/31338
