summaryrefslogtreecommitdiff
path: root/libpod/state_test.go
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2021-11-19 10:01:02 +0100
committerMiloslav Trmač <mitr@redhat.com>2021-11-30 22:13:52 +0100
commitf415b3055290b383c76d98127ec168ddea629680 (patch)
treeb43793cbf686389fc6c079e03b6b0486cd769baf /libpod/state_test.go
parenta948ecbb9c7c90e249cded94a2239192a4ad766a (diff)
downloadpodman-f415b3055290b383c76d98127ec168ddea629680.tar.gz
podman-f415b3055290b383c76d98127ec168ddea629680.tar.bz2
podman-f415b3055290b383c76d98127ec168ddea629680.zip
Ensure the generated NodePort values are unique
... at least within a single service. [NO NEW TESTS NEEDED] because testing RNGs is problematic. (We _could_ probably inject a mock RNG implementation that always returns the same value, or something like that.) Signed-off-by: Miloslav Trmač <mitr@redhat.com>
Diffstat (limited to 'libpod/state_test.go')
0 files changed, 0 insertions, 0 deletions