|
|
@ -163,7 +163,6 @@ func TestLockResource(t * testing.T) {
|
|
|
|
|
|
|
|
|
|
|
|
r1_l := r1.UpdateChannel()
|
|
|
|
r1_l := r1.UpdateChannel()
|
|
|
|
|
|
|
|
|
|
|
|
// Lock r3(so also r1&r2)
|
|
|
|
|
|
|
|
err := r3.Lock()
|
|
|
|
err := r3.Lock()
|
|
|
|
if err != nil {
|
|
|
|
if err != nil {
|
|
|
|
t.Fatal("Failed to lock r3")
|
|
|
|
t.Fatal("Failed to lock r3")
|
|
|
|