update to latest etcd

This commit is contained in:
Davanum Srinivas
2017-03-26 13:10:04 -04:00
parent 0b9602059e
commit 1a8e5ce331
2 changed files with 3 additions and 1 deletions

View File

@@ -77,6 +77,8 @@ class TestEtcd3Gateway(base.TestCase):
self.assertEqual('i am a range', value)
self.assertTrue(metadata['key'].startswith('/doot1/range'))
@unittest.skipUnless(
_is_etcd3_running(), "etcd3 is not available")
def test_get_prefix_sort_order(self):
def remove_prefix(string, prefix):
return string[len(prefix):]

View File

@@ -1,7 +1,7 @@
#!/bin/bash
set -eux
if [ -z "$(which etcd)" ]; then
ETCD_VERSION=3.1.3
ETCD_VERSION=3.1.4
case `uname -s` in
Darwin)
OS=darwin