moby--moby/integration/system
Sebastiaan van Stijn a3b1b66bb3
integration: TestPingSwarmHeader(): fix incorrect ping, and cleanup
I noticed I made a mistake in the first ping ("before swarm init"), which
was not specifying the daemon's socket path and because of that testing
against the main integration daemon (not the locally spun up daemon).

While fixing that, I wondered why the test didn't actually use the client
for the requests (to also verify the client converted the response), so
I rewrote the test to use `client.Ping()` and to verify the ping response
has the expected values set.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-05-29 15:17:37 +02:00
..
cgroupdriver_systemd_test.go TestCgroupDriverSystemdMemoryLimit: fix failure 2020-03-03 11:30:55 +09:00
disk_usage_test.go api/types: replace uses of deprecated types.Volume with volume.Volume 2022-04-21 19:50:59 +02:00
event_test.go api: rename volume.VolumeCreateBody to volume.CreateOptions 2022-04-28 22:39:14 +02:00
info_linux_test.go integration(-cli): remove discovery related tests 2022-01-06 18:28:13 +01:00
info_test.go Use designated test domains (RFC2606) in tests 2021-04-02 14:06:27 +02:00
login_test.go registry: add DefaultRegistryHost const, and improve documentation 2022-02-27 13:48:27 +01:00
main_test.go testutil: make testing packages public 2019-09-11 07:47:23 -05:00
ping_test.go integration: TestPingSwarmHeader(): fix incorrect ping, and cleanup 2022-05-29 15:17:37 +02:00
version_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00