Files
kubernetes/pkg/volume
Kubernetes Submit Queue d78ef491de Merge pull request #62827 from linyouchong/data-reace-csi-20180418
Automatic merge from submit-queue (batch tested with PRs 62876, 62733, 62827). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

fix csi data race in csi_attacher_test.go

**What this PR does / why we need it**:
fix csi data race in csi_attacher_test.go#TestAttacherWaitForVolumeAttachment

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #62630

**Special notes for your reviewer**:
run `stress -p 500 ./csi.test -v 5 -alsologtostderr` , There is another failure
I think we should fix it in another PR.
```
--- FAIL: TestAttacherMountDevice (0.07s)
        csi_attacher_test.go:495: Running test case: normal
        csi_attacher_test.go:534: test should not fail, but error occurred: mkdir path2: file exists
```

**Release note**:

```release-note
NONE
```

/sig storage
2018-04-20 13:39:14 -07:00
..
2018-02-27 20:23:36 +08:00
2018-02-27 20:23:35 +08:00
2018-02-27 20:23:36 +08:00
2018-03-05 09:14:44 +01:00
2018-03-15 13:40:50 +05:30
2018-02-27 20:23:36 +08:00
2018-02-27 20:23:36 +08:00
2018-02-27 20:23:35 +08:00
2017-03-02 15:01:59 -08:00
2018-02-27 20:23:35 +08:00