]> Cypherpunks repositories - gostls13.git/commit
internal/runtime/maps: move tombstone test to swiss file
authorMichael Pratt <mpratt@google.com>
Fri, 18 Apr 2025 10:23:33 +0000 (06:23 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 18 Apr 2025 15:30:30 +0000 (08:30 -0700)
commit252c939445b6b03c5c82b54f7657c5d984ce6348
treededa58278d6a96243b1e817e9cd0c81684b36b7d
parent0e17905793cb5e0acc323a0cdf3733199d93976a
internal/runtime/maps: move tombstone test to swiss file

This test fails on GOEXPERIMENT=noswissmap as it is testing behavior
specific to swissmaps. Move it to map_swiss_test.go to skip it on
noswissmap.

We could also switch the test to use NewTestMap, which provides a
swissmap even in GOEXPERIMENT=noswissmap, but that is tedious to use and
noswissmap is going away soon anyway.

For #70886.

Cq-Include-Trybots: luci.golang.try:gotip-linux-amd64-longtest-noswissmap
Change-Id: I6a6a636c5ec72217d936cd01e9da36ae127ea2c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/666437
Reviewed-by: Keith Randall <khr@golang.org>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/internal/runtime/maps/map_swiss_test.go
src/internal/runtime/maps/map_test.go