Skip to content

Commit

Permalink
ETCDCTL_API=3 is the default from v3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Wheeler committed Nov 6, 2019
1 parent e6f57c9 commit a671378
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pifpaf/tests/test_drivers.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ def test_etcd(self):
self.assertEqual(str(port), os.getenv("PIFPAF_ETCD_PORT"))
r = requests.get("http://localhost:%d/version" % port)
self.assertEqual(200, r.status_code)
self._run("etcdctl cluster-health")
self._run("etcdctl endpoint health")

@testtools.skipUnless(spawn.find_executable("etcd"),
"etcd not found")
Expand All @@ -144,7 +144,7 @@ def test_etcd_cluster(self):
self.assertEqual(str(port), os.getenv("PIFPAF_ETCD_PORT"))
r = requests.get("http://localhost:%d/version" % port)
self.assertEqual(200, r.status_code)
self._run("etcdctl cluster-health")
self._run("etcdctl endpoint health")

@testtools.skipUnless(spawn.find_executable("consul"),
"consul not found")
Expand Down

0 comments on commit a671378

Please sign in to comment.