|
@@ -3,7 +3,8 @@
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
// you may not use this file except in compliance with the License.
|
|
// you may not use this file except in compliance with the License.
|
|
|
// You may obtain a copy of the License at
|
|
// You may obtain a copy of the License at
|
|
|
-// // http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
+//
|
|
|
|
|
+// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
//
|
|
//
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
@@ -1828,7 +1829,7 @@ func TestLeasingSessionExpire(t *testing.T) {
|
|
|
|
|
|
|
|
// down endpoint lkv uses for keepalives
|
|
// down endpoint lkv uses for keepalives
|
|
|
clus.Members[0].Stop(t)
|
|
clus.Members[0].Stop(t)
|
|
|
- if err := waitForLeasingExpire(clus.Client(1), "foo/abc"); err != nil {
|
|
|
|
|
|
|
+ if err = waitForLeasingExpire(clus.Client(1), "foo/abc"); err != nil {
|
|
|
t.Fatal(err)
|
|
t.Fatal(err)
|
|
|
}
|
|
}
|
|
|
waitForExpireAck(t, lkv)
|
|
waitForExpireAck(t, lkv)
|