Commit Graph

23 Commits

Author SHA1 Message Date
Grant Griffiths
05efba2a30 Add more snapshot and content sync tests
Signed-off-by: Grant Griffiths <grant@portworx.com>
2020-02-18 14:46:39 -08:00
Grant Griffiths
7811e59803 Refactor delete test to use withSnapshotFinalizers function
Signed-off-by: Grant Griffiths <grant@portworx.com>
2020-02-12 15:44:54 -08:00
Grant Griffiths
13dee9bc89 Add snapshot controller delete test
Signed-off-by: Grant Griffiths <grant@portworx.com>
2020-02-10 14:04:28 -08:00
Alex Szakaly
fb6225dc41 fix: go module requirements for semantic versioning
This commit also adds the compatibility with dep (Go dependency
management tool) via symlink creation (same method applied in
kubernetes-csi/csi-test)

TODO: fix hack/update-generated-code.sh

Fixes issue #239.

Signed-off-by: Alex Szakaly <alex.szakaly@gmail.com>
2020-01-22 09:50:01 +01:00
xing-yang
824ce7f6c5 Remove PVC finalizer when no longer in use 2020-01-03 19:57:51 +00:00
xing-yang
6b179a5066 Address review comments 2019-12-24 14:42:06 +00:00
xing-yang
23bba14ef3 Address one more comment 2019-12-23 21:30:52 +00:00
xing-yang
37d5705019 Address review comments 2019-12-23 21:13:21 +00:00
xing-yang
29e69f4c67 Try to find content from store by key before searching thru the list 2019-12-23 20:13:03 +00:00
xing-yang
bf48d62ab5 Don't trigger content deletion if snapshot is nil 2019-12-23 20:13:03 +00:00
xing-yang
62d9ab547e Address review comments 2019-12-23 20:13:03 +00:00
xing-yang
0ac299cf77 Add a function needsUpdateSnapshotStatus 2019-12-23 20:13:03 +00:00
xing-yang
f2814e5a18 Address review comments 2019-12-23 20:13:03 +00:00
xing-yang
d4350943e2 Update snapshot controller 2019-12-23 20:13:03 +00:00
Grant Griffiths
33c896f6ff Update common controller tests after split controller
Signed-off-by: Grant Griffiths <grant@portworx.com>
2019-12-23 10:00:02 -08:00
Kubernetes Prow Robot
bba358438a Merge pull request #218 from ggriffiths/fix_errshadow_update_snapshotstatus
Fix err shadow in updateSnapshotStatus and add retry delay
2019-12-20 10:01:33 -08:00
Grant Griffiths
b5f2165795 Fix err shadow in updateSnapshotStatus and add retry delay
Signed-off-by: Grant Griffiths <grant@portworx.com>
2019-12-20 09:47:42 -08:00
xing-yang
0dd03c93fb Add original retries back 2019-12-20 02:35:54 +00:00
xing-yang
c5d6e8163f Removed snapshotQueue.AddRateLimited 2019-12-19 21:31:12 +00:00
xing-yang
10017c2bdc Add snapshot back to queue 2019-12-18 21:49:05 +00:00
xing-yang
60c696c7c7 Remove createSnapshotContentRetryCount and createSnapshotContentInterval
from command line options
2019-12-18 02:54:15 +00:00
xing-yang
9000e9c846 Address review comments 2019-11-08 02:46:17 +00:00
xing-yang
6308420635 Split snapshot controller using beta APIs 2019-11-07 16:49:41 +00:00