Revision 9368f21c53b7aa96b8743a0b8b79a0ab44d963c6 authored by Jarno Rajahalme on 20 June 2024, 21:26:05 UTC, committed by Nathan Sweet on 21 June 2024, 15:57:37 UTC
AllowsIdentity is only used for testing, move it there. Add the missing InvertedPortMask field on the wildcard port lookup. Signed-off-by: Jarno Rajahalme <jarno@isovalent.com>
1 parent d97069c
idpool_race_test.go
// SPDX-License-Identifier: Apache-2.0
// Copyright Authors of Cilium
//go:build race
package idpool
import (
"testing"
)
// TestAllocateID without the race detection enabled is too slow to run with
// race detector set. Thus, we need to put it in a separate file so the unit
// tests don't time out while running with race detector by having a lower
// number of parallel goroutines than it would have been if we ran it without
// the race detector.
func TestAllocateID(t *testing.T) {
testAllocatedID(t, 5)
}
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...