|
@@ -130,8 +130,7 @@ func ctlV3Get(clus *etcdProcessCluster, key, value string, dialTimeout time.Dura
|
|
|
if !quorum {
|
|
if !quorum {
|
|
|
cmdArgs = append(cmdArgs, "--consistency", "s")
|
|
cmdArgs = append(cmdArgs, "--consistency", "s")
|
|
|
}
|
|
}
|
|
|
- // TODO: match by value. Currently it prints out both key and value in multi-lines.
|
|
|
|
|
- return spawnWithExpect(cmdArgs, key)
|
|
|
|
|
|
|
+ return spawnWithExpects(cmdArgs, key, value)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
func setupCtlV3Test(t *testing.T, cfg *etcdProcessClusterConfig, quorum bool) *etcdProcessCluster {
|
|
func setupCtlV3Test(t *testing.T, cfg *etcdProcessClusterConfig, quorum bool) *etcdProcessCluster {
|