Commit Graph

365 Commits

Author SHA1 Message Date
Poor12 68a5f66689 add application failover e2e
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-05-11 19:47:23 +08:00
Poor12 80eab7bcb3 add a clusterEvicted plugin
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-04-28 09:21:45 +08:00
lxtywypc b606c6b0d3 add e2e to test dependency distribution base on ClusterPropagationPolicy
Signed-off-by: lxtywypc <lxtywypc@gmail.com>
2023-04-23 11:19:42 +08:00
Poor12 c0f9d8c107 fix ReplicaSchedulingType is Duplicated, trigger rescheduling when replicas have changed
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-03-21 18:46:05 +08:00
changzhen 709ad8d06a add e2e for schedule with clusteraffinitise
Signed-off-by: changzhen <changzhen5@huawei.com>
2023-02-28 11:31:17 +08:00
Poor12 5eff625925 add placement for binding
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-10 15:18:01 +08:00
karmada-bot 69ecff65d8
Merge pull request #3114 from Poor12/test
Detector watch pp fields changed other than resource selector
2023-02-09 16:35:51 +08:00
Poor12 9ae3e50ae8 detector watch pp fields changed other than resource selector
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2023-02-09 15:16:21 +08:00
Fish-pro 05c759a19a Use http constants instead of string
Signed-off-by: Fish-pro <zechun.chen@daocloud.io>
2023-02-07 15:51:00 +08:00
RainbowMango a1e8f164cb adopt static check issues
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +08:00
RainbowMango 95213cd6f5 Adopt IngressStatus type changes
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-29 18:08:19 +08:00
hejunhua f229d97be9 fix that the InterpretDependency operation is absent in the validating webhook
Signed-off-by: hejunhua <jayfantasyhjh@gmail.com>

fix e2e problem

Signed-off-by: hejunhua <jayfantasyhjh@gmail.com>

fix test case

Signed-off-by: hejunhua <jayfantasyhjh@gmail.com>
2023-01-17 15:14:04 +08:00
Amir Alavi 05a98cc978
default interpreter aggregate status: set sub-test name and parallelize
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2023-01-08 21:05:45 -05:00
karmada-bot 4d9b23ff72
Merge pull request #3008 from Fish-pro/infoffmt
Remove unnecessary fmt.Sprintf for logging
2022-12-30 09:25:51 +08:00
chen zechun 4699343bcf Remove unnecessary fmt.Sprintf for logging
Signed-off-by: chen zechun <zechun.chen@daocloud.io>
2022-12-29 17:55:56 +08:00
karmada-bot a20dd6e630
Merge pull request #2935 from jwcesign/code-review-fix-v2
Delete the redundant logic in func GenerateExecutionSpaceName
2022-12-29 15:39:50 +08:00
jwcesign 8acd1a4503 Delete the redundant logic in func GenerateExecutionSpaceName
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-28 15:59:24 +08:00
Poor12 dbcf60a696 log error when replicaDivisionPreference is Weighted and WeightPreference is nil
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-23 14:25:18 +08:00
wlp1153468871 3dc0ef2a4a Update the wrong message info in the e2e
Signed-off-by: wlp1153468871 <luping.wei@daocloud.io>
2022-12-21 12:18:33 +08:00
karmada-bot f029394009
Merge pull request #2912 from jwcesign/fix-pp-rb
fix a corner case that re-schedule be skipped in case of the cluster becomes not fit.
2022-12-13 17:06:27 +08:00
jwcesign 950b614fa7 Fix resource hangover in member cluster when propagating matching changes
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-12-13 14:55:50 +08:00
changzhen 5ed2100ee1 support multiple dependencyInterpreter lua script for one gvk
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-12-13 10:30:33 +08:00
Poor12 c3e2dedbbe fix e2e failure
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-12 11:14:40 +08:00
Poor12 7c4cd0b5b6 fix work status not sync to control plane
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-12-09 15:43:34 +08:00
karmada-bot 3f0a19c192
Merge pull request #2856 from jameszhangyukun/e2e-depency
[E2E] add test case for resource interpreter customization
2022-11-28 09:32:10 +08:00
zhangyukun a5e35a4ca8 e2e DependencyInterpretation
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2022-11-27 14:11:35 +08:00
karmada-bot d20c699e42
Merge pull request #2851 from XiShanYongYe-Chang/e2e-update-retain-test
[e2e] Refactor InterpreterOperation retain test with resourceinterpreter
2022-11-25 19:27:08 +08:00
changzhen f4353a1e65 e2e: refactor retain test
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-25 17:00:30 +08:00
RainbowMango f8646f5d91 Update Golang version from v1.18.3 to v1.19.3
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2022-11-23 19:47:12 +08:00
karmada-bot 4870c30f9d
Merge pull request #2839 from jameszhangyukun/e2e-custom
[E2E] add test case for resource interpreter customization
2022-11-22 21:00:07 +08:00
zhangyukun 49d7520119 e2e
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2022-11-22 19:42:01 +08:00
cleverhu e1e1616197 unify namespace and name style
Signed-off-by: cleverhu <shouping.hu@daocloud.io>
2022-11-19 23:42:01 +08:00
changzhen df81ff9509 add e2e for resource interpreter customization
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-19 18:15:18 +08:00
jwcesign 8bda9f85d2 e2e: wait till the informer's cache is synced in karmada-controller
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-17 15:49:30 +08:00
changzhen c60736ec23 mark test case as serial
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-16 15:52:09 +08:00
jwcesign 252dd7de97 Fix PP/CPP e2e probabilistic failure
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-15 19:50:29 +08:00
karmada-bot c8016354b3
Merge pull request #2805 from XiShanYongYe-Chang/fix-2804
[e2e] decrease the number of replicas when updating the number of statefulset replicas
2022-11-15 10:59:33 +08:00
changzhen 43933216a1 decrease the number of replicas when updating the number of statefulset replicas
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-15 10:02:54 +08:00
jwcesign 4c6fc6e367 Implement priority of PropagationPolicy/ClusterPropagationPolicy
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-14 23:07:38 +08:00
karmada-bot 3cbae40434
Merge pull request #2771 from wuyingjun-lucky/nil_resource_selector
Fix overridepolicy with nil resource selector could not work
2022-11-13 10:41:56 +08:00
wuyingjun 41b1cc4c8c fix overridepolicy with nil resource selector could not work
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-11-12 17:36:30 +08:00
lonelyCZ faa6b64cd6 Package subcommands of karmadactl to make it clearer
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-10 14:31:57 +08:00
changzhen ce0236e546 add e2e for editing policy resoureceSelectors
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-11-09 16:41:15 +08:00
lonelyCZ 3dc11037cc karmadactl join/unjoin use factory to access control plane
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-07 16:02:45 +08:00
lonelyCZ 7b44385441 karmadactl promote uses factory to access cluster
Signed-off-by: lonelyCZ <chengzhe@zju.edu.cn>
2022-11-04 15:18:48 +08:00
Garrybest a0b7ba5d1d leverage scheduler cache to estimate replicas
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-10-30 22:45:16 +08:00
chaunceyjiang 4634763f40 Add E2e for AnnotationsOverrider
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-10-14 15:36:51 +08:00
chaunceyjiang 089e586bd9 Add E2e for LabelsOverrider
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-10-14 14:43:15 +08:00
karmada-bot 3e8ed1db96
Merge pull request #2611 from helen-frank/feature/cordonFactory
karmadactl cordon&uncordon uses factory to access cluster
2022-10-13 18:56:26 +08:00
chaunceyjiang d171aa1cf1 add implicit priority UT for pp
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-10-07 23:18:48 +08:00
helen be4b3c829a karmadactl cordon&uncordon uses factory to access cluster
Signed-off-by: helen <helenfrank@protonmail.com>
2022-10-04 17:33:13 +08:00
changzhen 5425954372 fix flaking-test: cordon cluster taint check
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-09-28 17:13:18 +08:00
changzhen 5ee9f6776e fix 2392: replace colon with point in the rbac resource name
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-09-26 10:10:56 +08:00
changzhen 79b1284494 replace gomeme.Eventually with wait when logic has assertions
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-09-20 19:39:19 +08:00
karmada-bot 516e09508e
Merge pull request #2524 from chaunceyjiang/sa
propagate dependencies support propagate sa
2022-09-19 19:34:48 +08:00
chaunceyjiang 92fff3163d propagate dependencies support propagate sa
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-09-17 18:21:17 +08:00
changzhen 6f77e1777d add test case for aa when new cluster join with different namespace
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-09-16 17:38:38 +08:00
karmada-bot 2dff09056f
Merge pull request #2509 from XiShanYongYe-Chang/fix-flaking-test-tainttoleration
[E2E] fix flaking test: tainttoleration check
2022-09-14 16:40:18 +08:00
changzhen 2719e0919b fix flaking test: tainttoleration check
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-09-14 15:29:52 +08:00
karmada-bot 21282fd183
Merge pull request #2501 from XiShanYongYe-Chang/fix-flaking-test-search
[E2E] fix flaking test: search proxy get node report not found
2022-09-14 14:59:18 +08:00
changzhen 1b57dfcc43 fix flaking test: karmadactl uncordon taint check
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-09-13 11:19:10 +08:00
changzhen 4fd36b55c5 fix flaking test: search proxy get node report not found
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-09-13 09:30:06 +08:00
yingjinhui 93a1448556 [e2e] add wait for proxy ready
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-09-08 19:35:15 +08:00
karmada-bot 958f381a54
Merge pull request #2469 from ikaven1024/pr-cluster-anno
add cache source annotation for objects returned by proxy
2022-09-07 17:54:09 +08:00
yingjinhui a9fcfa2ecd add cache source annotation for objects returned by proxy
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-09-07 15:48:14 +08:00
changzhen f661b5a93c update RandomStrLength from 3 to 5 in E2E test
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-09-07 10:50:11 +08:00
karmada-bot 71d037be0b
Merge pull request #2474 from ikaven1024/fix_deploy
do not switch context when deploy karmada
2022-09-06 11:56:07 +08:00
yingjinhui 17789e05a9 add karmadaContext to e2e runner.
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-09-06 02:08:18 +08:00
karmada-bot a1098a6b45
Merge pull request #2431 from Poor12/add-e2e-for-cluster-status
[e2e] add e2e for cluster status
2022-09-01 16:19:01 +08:00
Poor12 868a224064 add e2e for cluster status collection
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-09-01 15:02:38 +08:00
changzhen 4049bf8285 don't consider the older cluster when filter with taint_toleration
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-08-30 20:52:23 +08:00
chaunceyjiang 90ce5e004e Reschedule ResourceBinding when adding a cluster
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-08-27 11:01:25 +08:00
karmada-bot 29a756825b
Merge pull request #2414 from ikaven1024/proxy-e2e
[e2e] add proxy e2e test
2022-08-25 15:24:53 +08:00
zhuwint 4adc8c4c76 add e2e test for InterpretHealth
Signed-off-by: zhuwint <zhuwentao15@huawei.com>
2022-08-25 11:02:40 +08:00
yingjinhui 560e89a67b add proxy e2e
Signed-off-by: yingjinhui <yingjinhui@didiglobal.com>
2022-08-24 20:50:05 +08:00
zhuwint 334a478b61 add e2e for InterpretStatus
Signed-off-by: zhuwint <zhuwentao15@huawei.com>
2022-08-24 09:09:29 +08:00
Garrybest ff94289352 remove Failover from scheduler
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-08-22 14:23:16 +08:00
huntsman_ly b13a2b9c53
[E2E] add karmada-search e2e test
Co-authored-by: liys87x <liyasong1987x@gmail.com>
Signed-off-by: huntsman_ly <huntsman_ly@sina.com>
2022-08-12 13:47:32 +08:00
hanweisen 721d4e02bf propagate dependencies support propagate pvc
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-08-10 11:09:25 +08:00
hejianpeng c038cdd127 support ClusterOverridePolicy in namespaces_sync_controller
Signed-off-by: hejianpeng <hejianpeng2@huawei.com>
2022-07-28 11:00:32 +08:00
carlory a78bc65af5 remove unused flag for karmadactl promote
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-07-15 07:23:48 +08:00
changzhen 4fd90cc448 fix flake e2e case: Karmadactl unjoin testing
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-07-13 10:45:45 +08:00
changzhen a703560296 upgrade default karmada-apiserver from v1.23.8 to v1.24.2
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-07-09 14:40:10 +08:00
lonelyCZ 8c2b50b72e Fix check whether deployment propagated to member cluster
Signed-off-by: lonelyCZ <531187475@qq.com>
2022-07-07 20:45:18 +08:00
karmada-bot f55d1787e5
Merge pull request #2122 from XiShanYongYe-Chang/extend-unjoin-waiting-time
Extend the waiting time for CI cluster unjoin
2022-07-04 17:42:33 +08:00
karmada-bot 4e4be71b28
Merge pull request #1992 from XiShanYongYe-Chang/retain-with-pull-cluster
[E2E] support pull mode cluster for Retain testing
2022-07-04 17:13:38 +08:00
changzhen a2dfd883ef extend the waiting time for CI cluster unjoin
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-07-04 16:57:53 +08:00
carlory c1e5f1f0a1 dix karmadactl e2e
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-06-29 11:22:05 +08:00
karmada-bot 0abb792bbf
Merge pull request #1850 from hanweisen/adde2etest
[E2E] add karmadactl cordon/uncordon e2e test
2022-06-29 10:44:21 +08:00
karmada-bot a2bcb1acd4
Merge pull request #1822 from duanmengkk/feature_servicepromotefix
fixed a bug that the service could not be promoted and e2e test
2022-06-27 19:17:19 +08:00
carlory ac1121365a remove dry-run from GlobalCommandOptions
Signed-off-by: carlory <baofa.fan@daocloud.io>
2022-06-19 00:06:39 +08:00
hanweisen 429dae2340 add karmadactl cordon/uncordon e2e test
Signed-off-by: hanweisen <hanweisen_yewu@cmss.chinamobile.com>
2022-06-17 09:58:31 +08:00
duanmeng 0ea0f6f1cb fixed a bug that the service could not be promoted and e2e test
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-06-16 21:56:01 +08:00
changzhen 9852574980 support pull mode cluster for Retain testing
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-06-13 15:19:34 +08:00
Garrybest 3ad6f31a7b fix bugs of aggregating job status
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-06-10 17:47:00 +08:00
karmada-bot 3791cd5815
Merge pull request #1824 from wuyingjun-lucky/promote_bug
Fix promoting failed if a resource with other kind used same name has promoted before
2022-06-08 11:54:58 +08:00
wuyingjun 667e0ee9d5 fix promoting failed if a resource with other kind used same name has promoted before
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-06-04 21:10:55 +08:00
changzhen 9e94ed28c2 update perl image for latest image run err
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-31 11:39:00 +08:00
karmada-bot 519a385641
Merge pull request #1848 from XiShanYongYe-Chang/add-log-info
[E2E] log more err info when wait resource exist on member clusters
2022-05-30 15:14:48 +08:00
changzhen f95e14769a log more err info when wait resource exist on member clusters
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-05-20 16:18:51 +08:00
wuyingjun 87073c3d78 discard unused param in cmd functions
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-20 11:25:29 +08:00
chaunceyjiang 935d36dbd7 add e2e of service of nodeport type
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-05-19 09:28:08 +08:00
karmada-bot 3c73babcaf
Merge pull request #1801 from wuyingjun-lucky/karmadactl_test
Add karmadactl e2e test
2022-05-17 19:13:46 +08:00
wuyingjun f814b5d07a add karmadactl e2e test
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>

Update test/e2e/karmadactl_test.go

Co-authored-by: Zhe Cheng <47743202+lonelyCZ@users.noreply.github.com>

modify varible member1

Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-17 15:13:48 +08:00
wuyingjun 942ef77d22 set timeout configs by using flags when run e2e before
Signed-off-by: wuyingjun <wuyingjun_yewu@cmss.chinamobile.com>
2022-05-14 22:40:21 +08:00
Poor12 b3eed04087 [e2e]add e2e for jobStatus,daemonSetStatus,statefulSetStatus collection
Signed-off-by: Poor12 <shentiecheng@huawei.com>
2022-05-09 20:25:57 +08:00
duanmeng 2f016f664d fix e2e test failed
Signed-off-by: duanmeng <duanmeng_yewu@cmss.chinamobile.com>
2022-05-05 16:40:34 +08:00
changzhen 695c29fe61 add e2e for ingressStatus collection
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-28 11:55:57 +08:00
changzhen 965f138f7c add e2e for serviceStatus collection
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-27 15:21:25 +08:00
changzhen 7342f2fd78 Set e2e to run in parallel
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-15 11:47:26 +08:00
changzhen eec51a5a7a move cleanup to ginkgo setup node
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-14 09:10:11 +08:00
changzhen d977ae767f modify changes due to the ginkgo version updation
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-13 09:09:20 +08:00
changzhen c617644eaa upgrade ginkgo to v2
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-12 20:39:29 +08:00
changzhen ca103cf336 Declare in container nodes, initialize in setup nodes
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-12 09:46:18 +08:00
Garrybest b86461e82f add benchmark in estimator
Signed-off-by: Garrybest <garrybest@foxmail.com>
2022-03-30 20:30:31 +08:00
changzhen c9f2773921 fix failing e2e case for namespace not found
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-26 11:10:58 +08:00
changzhen e1fbf5cf2d refactor aggregated-apiserver e2e test
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-25 15:27:08 +08:00
wwwnay b534e994c2 e2etest for aggregated api endpoint
Signed-off-by: wwwnay <ywilling@outlook.com>
2022-03-25 15:23:16 +08:00
changzhen 9ffbcbf261 move clean operation to AfterEach
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-22 22:42:40 +08:00
lihanbo 2a631017ed add e2e test for dependencies distributor
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2022-03-22 19:49:33 +08:00
changzhen decc5e1123 add e2e for federatedresourcequota status collection
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-21 17:07:42 +08:00
changzhen 82ff421c57 add e2e for federatedresourcequota sync
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-03-21 16:39:43 +08:00
huone1 316773b761 optimize the failover e2e test case
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-15 10:26:40 +08:00
huone1 0c0f1eece8 fix the failover e2e test failed
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-07 20:45:09 +08:00
huone1 f7e6ecd56a [feature]support rescheduling when deleting a cluster
Signed-off-by: huone1 <huwanxing@huawei.com>
2022-03-03 09:49:44 +08:00
Xinzhao Xu bc883c86b1 Add e2e test for the AggregateStatus hook
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-01-21 15:22:37 +08:00
Xinzhao Xu 501f68aea4 Clean up the code that converts Unstructured objects
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2022-01-19 10:28:30 +08:00
Xinzhao Xu 7207dad298 Add e2e test for the ReviseReplica hook
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-31 12:33:47 +08:00
lonelyCZ f4c71a6370 Run karmada-interpreter-webhook-example in CI
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-12-30 20:46:32 +08:00
zhangyukun 7457563a86 Add e2e test for unjoining not ready cluster
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2021-12-22 15:01:51 +08:00
karmada-bot 5f23b655ed
Merge pull request #1126 from jameszhangyukun/e2e-overriderules
Add a e2e test for OverrideRules of OverridePolicy
2021-12-20 11:09:26 +08:00
zhangyukun 28889171fd e2e test for overridemanager.go
Signed-off-by: zhangyukun <38148677+jameszhangyukun@users.noreply.github.com>
2021-12-20 10:30:26 +08:00
changzhen 586cd9d407 update discoveryv1beta1 to discoveryv1 for endpointslice
Signed-off-by: changzhen <changzhen5@huawei.com>
Signed-off-by: Shike-Ada <1073457937@qq.com>
2021-12-18 17:19:21 +08:00
Xinzhao Xu 1a9a592230 Fix namespace issue in the porting workloads e2e test
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-15 16:14:53 +08:00
Xinzhao Xu 7abeb1225a Add e2e test for managing existing resources scenario
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2021-12-14 14:31:32 +08:00
lihanbo 435f32cc4d update Scheduled conditon when failed scheduling
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-12-02 17:53:53 +08:00
karmada-bot b54a75ec24
Merge pull request #1019 from XiShanYongYe-Chang/e2e-framework
Refector: add framework for e2e
2021-11-25 19:32:03 +08:00
changzhen 35f8a1ef52 refactor:add framework for e2e
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-24 14:08:36 +08:00
lonelyCZ b634297edf Remove ClusterNamespace from GlobalCommandOptions
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-11-23 16:49:43 +08:00
lonelyCZ 1af768774c e2e: add test case cover job scheduling
Signed-off-by: lonelyCZ <531187475@qq.com>
2021-11-15 16:15:23 +08:00
karmada-bot ccf78c1c70
Merge pull request #891 from Garrybest/pr_dynamic_weight
divide replicas weighted by AvailableReplicas
2021-11-08 15:41:55 +08:00
Garrybest d01fccfd3b add division algorithm test
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-11-06 22:39:57 +08:00
pigletfly dac00692e7 refactor object watcher interface
Signed-off-by: pigletfly <wangbing.adam@gmail.com>
2021-11-05 23:26:51 +08:00
wawa0210 78603cc2c7
Introduce --wait flag for karmada join or unjoin command
Signed-off-by: wawa0210 <xiaozhang0210@hotmail.com>
2021-11-01 00:10:26 +08:00
karmada-bot 7daf975d4d
Merge pull request #874 from dddddai/test
use gomega.Eventually to wait for scheduling in taint toleration test
2021-10-28 14:16:38 +08:00
dddddai 4eb8cc6b72 use gomega.Eventually to check target cluster
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-10-28 09:56:12 +08:00
karmada-bot e2d16ae57a
Merge pull request #855 from XiShanYongYe-Chang/upgrade-k8s-dependency
upgrade k8s dependency to v0.22.2
2021-10-25 10:48:58 +08:00
changzhen c360b3795d adapt gomega.Eventually in E2E test
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-10-23 11:20:18 +08:00
tboros 99f82c2523 #853 remove cluster_test.go
Signed-off-by: tboros <tboros@bol.com>
2021-10-22 12:12:24 +02:00
karmada-bot 4ac02a613f
Merge pull request #808 from RainbowMango/pr_nominate_owners
nominate approvers and reviewers
2021-10-22 10:46:09 +08:00
changzhen 8dfd57c2fe add framework for e2e
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-10-21 14:08:27 +08:00
changzhen 8e1e16e950 adapt the Scheduled condition for binding
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-10-20 10:59:03 +08:00
RainbowMango fb81c73c67 nominate approvers and reviewers
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-10-19 14:31:38 +08:00
karmada-bot d2af1e1991
Merge pull request #823 from dddddai/sched-condition
Propose a Scheduled condition for RB/CRB
2021-10-18 15:15:01 +08:00
dddddai 57ad4a0f30 add e2e test for scheduled condition
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-10-18 14:32:04 +08:00
guoyao ab3f176163 replace deprecated package io/ioutil with packages io and os
Signed-off-by: guoyao <1015105054@qq.com>
2021-10-16 11:50:36 +08:00
dddddai 767628c560 fix failover test
Signed-off-by: dddddai <dddwq@foxmail.com>
2021-10-12 17:42:26 +08:00
RainbowMango 56fbbe1054 adopt binding v1alpha2
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-09-28 17:03:46 +08:00
changzhen fa95124edb add retry when update object
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-22 18:02:47 +08:00
esto a6165e47f9 update import-aliases
Signed-off-by: esto <1291156784@qq.com>
2021-09-15 15:13:14 +08:00
Garrybest 35b02bc497 add scheduler estimator test
Signed-off-by: Garrybest <garrybest@foxmail.com>
2021-09-12 13:45:00 +08:00
changzhen aca03f146c fix bug: update binding object with replicas and replicaRequirements
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-09 17:01:27 +08:00
changzhen 6cda588ffc add E2E test of ReplicaScheduling when ReplicaSchedulingType is Divided, ReplicaDivisionPreference value is Weighted, WeightPreference isn't nil
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-06 17:05:46 +08:00
changzhen def4d2e55e add E2E test of ReplicaScheduling when ReplicaSchedulingType is Divided, ReplicaDivisionPreference value is Weighted, WeightPreference is nil
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-06 15:56:02 +08:00
changzhen 140eb462cc add E2E test of ReplicaScheduling when ReplicaSchedulingType is Duplicated
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-09-06 15:53:50 +08:00
karmada-bot c42ca39041
Merge pull request #639 from RainbowMango/pr_nominate_reviewers
nominate owners
2021-08-26 09:11:44 +08:00
karmada-bot 5081eedb0a
Merge pull request #601 from qianjun1993/delete-policy
keep ResourceBinding when removing PropagationPolicy
2021-08-25 09:16:41 +08:00
junqian bf7f4bf097 stop remove ClusterResourceBindings labeled with policy
Signed-off-by: junqian <junqian@tencent.com>
2021-08-24 15:08:39 +08:00
RainbowMango ef1e4c22fd nominate reviewers
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-08-21 16:17:58 +08:00
changzhen b2260d02ce fix flake: propagation with taint and toleration testing
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-08-21 14:51:54 +08:00
RainbowMango f824427351 Move QPS and Burst to cluster status controller.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-08-19 11:44:24 +08:00
lihanbo 8e90d2c93f fix bug of distributing job
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-08-11 19:47:03 +08:00
karmada-bot e02ee0bad6
Merge pull request #562 from XiShanYongYe-Chang/e2e-occasionally
Fix scheduling test failing
2021-07-28 20:59:53 +08:00
changzhen 64991d2b9d fix scheduling test failing
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-28 14:36:04 +08:00
changzhen eb98d1f930 do not create ns in member cluster by hand
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-23 16:05:07 +08:00
changzhen 0f1ce4e1d9 add e2e test for MCS feature
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-21 16:46:10 +08:00
changzhen 5154ba4b37 resource's annotation have not been updated after the overridepolicy updated
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-07-16 18:04:40 +08:00
RainbowMango 6aaa003f38 Add more debug logs for failing case.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-07-15 16:00:46 +08:00
RainbowMango b59b1697b7 Fix taints testing failling.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-07-13 16:46:58 +08:00
RainbowMango 13aacdfdea refactor utils for checking API enablements
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-07-07 19:47:15 +08:00
RainbowMango 8cfea7e187 Enlarge E2E poll timeout to 300s.
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-07-07 18:46:55 +08:00
lihanbo 8e588ac06f resolve AlreadyExists conflict when create resource in member cluster
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-07-06 21:51:54 +08:00
Rohan Sharma 1abca3f94a ignore NotFound error
Signed-off-by: Rohan Sharma <rhnsharma5113@gmail.com>
2021-07-05 15:15:30 +05:30
Rohan Sharma 11efaf80ea replace wait.Poll with wait.PollImmediate from e2e testing
Signed-off-by: Rohan Sharma <rhnsharma5113@gmail.com>
2021-07-05 12:02:44 +05:30
RainbowMango 89f3569147 Making resource selector required
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2021-06-10 17:15:35 +08:00
changzhen 57085fa9ea add E2E cases for policy matching with nil resourceSelectors
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-06-03 15:44:41 +08:00
changzhen a0c7ef95fd refactor NewXXXPolicy method in e2e test
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-06-03 15:44:41 +08:00
Zhen Chang bc7cfd8dc5
add e2e of imageOverrider (#379)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-05-28 14:46:02 +08:00
lihanbo 7e1e7b9726 add e2e test for scheduling base on cluster provider/region
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-25 09:11:57 +08:00
lihanbo 9834f8b981 add e2e test for taint toleration schedule
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-05-21 09:20:03 +08:00
gy95 d33ae3818c
fix blank lines of import packages and repeated import problems (#337)
Signed-off-by: gy95 <guoyao17@huawei.com>
2021-05-16 19:01:11 +08:00
tinyma123 29c307cc39
Add E2E failover test. (#268)
Signed-off-by: mabotao <1397247577@qq.com>

Modify some function names.

Signed-off-by: mabotao <1397247577@qq.com>
2021-04-20 21:49:59 +08:00
Hongcai Ren fd5aeb8cf5
Introduce federated object key for refactor status clollection (#266)
Signed-off-by: RainbowMango <renhongcai@huawei.com>
2021-04-12 15:12:16 +08:00
tinyma123 46974327e8
Add label and spreadByConstraints E2E of CRD and deployment (#245)
Add E2E of label and group constraints

Signed-off-by: mabotao <1397247577@qq.com>
2021-04-09 16:12:20 +08:00
Zhen Chang 350adfcccf
add deploymentStatus collection testing (#255)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-04-06 11:50:36 +08:00
lihanbo e7aeb332ad add e2e test for karmada agent
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-03-27 17:58:55 +08:00
Zhen Chang 51d56624c6
modify crd names with random string in e2e test (#230)
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-03-24 15:01:16 +08:00
changzhen b04fdfb5ac add basic namespaced scope cr propagation test
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-03-23 14:26:31 +08:00
changzhen fa1df5844a add basic crd propagation test
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-03-23 14:26:31 +08:00
changzhen 2f57916254 add basic pod propagation test
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-03-12 19:30:41 +08:00