k3s/test/integration
k8s-merge-robot 707cc2bbb8 Merge pull request #26493 from caesarxuchao/fix-gc-flake
Automatic merge from submit-queue

Fixes 25890 flake. Let GC convert ListOptions to v1 before passing it to the dynamic client

GC's ListWatcher directly passed the api.ListOptions to the dynamic client, but the parameter codec of dynamic client converts the options to queries based on the tags in the struct, which are not present in api.ListOptions, so the queries are not sent to the server. As a result, the Watch request was sent without a resourceVersion, causing missed events. Flake #25890 is caused by the missed deletion events.

This PR converts the api.ListOptions to v1.ListOptions before the GC passes it to the dynamic codec. The flaky test has successfully passed 79 times ([log](https://00e9e64bacd064560a027fbee9c5a373a1614f3a56e652ae40-apidata.googleusercontent.com/download/storage/v1_internal/b/kubernetes-jenkins/o/pr-logs%2Fpull%2F25923%2Fkubernetes-pull-test-unit-integration%2F28364%2Fbuild-log.txt?qk=AD5uMEv72OjSUqDyk5i-ZLurcmM4i7gket1c7WaqR7yuIYz7WhPYT7ewVBafijV0ymnPTYqxRYt1kp6S9YQv7chPwC-3UtrKetKfhYnvAFrPGXAIBxHytTmpFohRAYgsARN1B6j1f9vyK5lM-8jyzRGhCK3sCRsAPnbDBWIWFlbH4b1n3vUET3P71QamHrF5itYyaqRU5pMZV3Cwwr81X8q7h5hCzm3Ip78RpMzfjEqTG0RcM2TLGccUrlkWVBLh4hn0NFpUIkzVFugFA5ooJffo-0AdJnO3mGWEOnXNVFWftJbK8cKnTns0DISrYFOyH_PlOe_YHCxgIXIT-dW8G-nbqoUjn5SBqunr36rcpaYCIwe2va4W_AcLCT43xiEAezRER_U9AuIqi_22KMd6SuHTyljhmWFPvPk8-gpjthLWXhcE7LPO5dV41hnZHnbI4n_9eI1nSVm7q9XdSvX1sWKV1GCwn8oj017AnxVvl9bScultko_0dTC747UqJ6UTFakLuFcHFe-F5Tz7ItDWlBVPoXeC7gTpyuicFKLsdqGlW9F5X6kIwNrBRj9uRsS-QuzSER-fVkQCn4dUTcokttRH_0bYvyfr9oqiDXmywMgOp-L0sKayk8JOVynh2q0Tju9sdkvFr0PxoAjhofomfIC1SZ_JkOzwAT1TUW8dLjPHluMct34xW_-qna1AmkoxM4bZQLhllap96NTC-0IdtzeKDrTul8p7u3WXSJjjEMSijibTNMlnkB0AluT1_RNO94OnzuFv4YlcV24FPhJzchhbyKREkOb_wzgcnSbRwGHjIcfRgkX-IzoXHVBcMYFUrPmsXrnRcfad4XwjkUOgvivkURW2_EwnzgrLDh-IKek51_0FpT1MnFCSG0gQbVSs_iMVPr6UXNAw62LGbKVtl3ZMXyapEpcO8azNbn6Wvd550R704JXxYlU)).

@lavalamp @krousey @smarterclayton
2016-06-04 01:52:31 -07:00
..
framework Merge pull request #26007 from smarterclayton/watch_opt 2016-05-28 06:27:00 -07:00
auth_test.go Merge pull request #26025 from liggitt/auth-test-flake 2016-05-23 13:19:49 -07:00
benchmark-controller.json build/pause: write in C 2016-05-04 21:45:52 -04:00
client_test.go Removed all pause image constant strings, now the pause image is chosen by arch. Part of the effort of making e2e arch-agnostic 2016-05-26 19:16:43 +03:00
configmap_test.go Uncomment the code that cause by #19254 2016-04-25 23:21:31 +08:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
dynamic_client_test.go let dynamic client take runtime.Object instead of v1.ListOptions 2016-05-10 16:05:31 -07:00
etcd_tools_test.go Merge pull request #23914 from sky-uk/make-etcd-cache-size-configurable 2016-04-17 00:06:31 -07:00
extender_test.go Removed all pause image constant strings, now the pause image is chosen by arch. Part of the effort of making e2e arch-agnostic 2016-05-26 19:16:43 +03:00
garbage_collector_test.go Let the dynamic client take a customized parameter codec for List, Watch, and DeleteCollection. 2016-06-03 11:22:51 -07:00
kubectl_test.go Add a ConfigPersister for AuthProvider plugins in kubectl/clients. 2016-05-07 18:15:18 -07:00
master_benchmark_test.go Fix compile errors in benchmark 2015-12-02 11:36:26 +01:00
master_test.go Uncomment the code that cause by #19254 2016-04-25 23:21:31 +08:00
metrics_test.go Uncomment the code that cause by #19254 2016-04-25 23:21:31 +08:00
openshift_test.go Extracting APIServer machinery code into a library 2015-12-16 13:54:23 -08:00
persistent_volumes_test.go volume controller: add configurable integration test to stress the binder 2016-06-03 12:52:32 +02:00
pods_test.go move pods.go to pods_test.go 2016-04-28 15:39:28 -07:00
quota_test.go Improve quota integration test to not use events, reduce number of pods provisioned 2016-05-10 19:50:36 -04:00
scheduler_test.go Removed all pause image constant strings, now the pause image is chosen by arch. Part of the effort of making e2e arch-agnostic 2016-05-26 19:16:43 +03:00
secret_test.go Uncomment the code that cause by #19254 2016-04-25 23:21:31 +08:00
service_account_test.go Merge pull request #24595 from zhouhaibing089/httpserverclose 2016-04-28 01:41:16 -07:00
utils.go Add integration test for ConfigMap 2016-02-09 10:28:53 -05:00