Skip to content

Commit c11049c

Browse files
committed
Debug repro and attempt fixing rpc bug
1 parent f20c852 commit c11049c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

tests/robustness/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ test-robustness-issue19179: /tmp/etcd-v3.5.17-failpoints/bin
7777

7878
.PHONY: test-robustness-issue20573
7979
test-robustness-issue20573: /tmp/etcd-v3.6.4-failpoints/bin
80-
GO_TEST_FLAGS='-v -run=TestRobustnessRegression/issue20573 -count 200 -failfast --bin-dir=/tmp/etcd-v3.6.4-failpoints/bin' $(TOPLEVEL_MAKE) test-robustness && \
80+
GO_TEST_FLAGS='-v -run=TestRobustnessRegression/issue20573 -count 2500 -failfast --bin-dir=/tmp/etcd-v3.6.4-failpoints/bin' $(TOPLEVEL_MAKE) TIMEOUT=24h test-robustness && \
8181
echo "Failed to reproduce" || echo "Successful reproduction"
8282

8383
# Etcd API usage by Kubernetes

tests/robustness/client/watch.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ func CollectClusterWatchEvents(ctx context.Context, param CollectClusterWatchEve
4848
if err != nil {
4949
return err
5050
}
51-
defer c.Close()
5251
err = watchUntilRevision(ctx, param.Lg, c, memberMaxRevisionChan, param.Cfg)
5352
reports[i] = c.Report()
5453
return err
@@ -71,7 +70,6 @@ func CollectClusterWatchEvents(ctx context.Context, param CollectClusterWatchEve
7170
if err != nil {
7271
return err
7372
}
74-
defer c.Close()
7573
return openWatchPeriodically(ctx, &g, c, param.BackgroundWatchConfig, finish)
7674
})
7775
}

0 commit comments

Comments
 (0)