changzhen
998c547414
fix occasional suspension case failed
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-09-11 17:28:14 +08:00
karmada-bot
350838dc22
Merge pull request #5029 from XiShanYongYe-Chang/remove-pp-name-length-limit
...
Remove pp/cpp name length limit
2024-08-31 11:28:48 +08:00
changzhen
911cc44974
remove pp/cpp name length limit
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-08-16 10:34:15 +08:00
Amir Alavi
f2f10ca3e4
chore: remove e2e tests for delete when suspended
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-15 22:17:53 -04:00
Amir Alavi
d909218748
e2e for work suspension resume
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-14 16:46:26 -04:00
Amir Alavi
8f707f35b4
work suspension: emit event for work dispatch status
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
fix lint
fix lint
2024-08-09 06:15:05 -04:00
Amir Alavi
1d8e0a029e
work suspension: work status conditions
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-07 22:25:05 -04:00
Amir Alavi
58dbd6b56e
feat: cluster-level resource propagation pause and resume capabilities
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-07-29 19:03:52 -04:00
zhzhuang-zju
903648a9de
fix unexpected interference between different e2e use cases
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-07-27 17:08:11 +08:00
Lan Liang
ed0f26c328
cleanup pointer, use ptr.Toto obtain a pointer, ptr.Deref to dereference a pointer.
...
The new k8s.io/utils/ptr package provides generic wrapper functions,
which can be used instead of type-specific pointer wrapper functions.
This replaces the latter with the former, and migrates other uses of
the deprecated pointer package to ptr in affacted files.
See kubernetes/utils#283 for details.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-28 05:32:33 +00:00
Lan Liang
5a4539d404
migrate wait.PollImmediate to wait.PollUntilContextTimeout.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-05-22 05:51:49 +00:00
zhzhuang-zju
309c67701b
bump golangci to v1.58.0
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-05-13 09:32:13 +08:00
zhzhuang-zju
48425663cc
e2e: Remove annotaions when pp/cpp is deleted
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-04-28 15:15:49 +08:00
whitewindmills
59b8835bda
Deprecate name/namespace labels of pp/cpp
...
Co-authored-by: changzhen <changzhen5@huawei.com>
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-04-18 14:21:02 +08:00
zhzhuang-zju
afe58c71a4
e2e: reduce unnecessary repetitive processes in propagationpolicy_test.go
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-02-06 15:19:33 +08:00
zhzhuang-zju
189a91bbf9
e2e: add a e2e case to test the scenario where pp and cpp are deleted
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-01-12 16:56:47 +08:00
karmada-bot
d43f22fb29
Merge pull request #4324 from Vacant2333/Add-e2e-coverage-analysis
...
Add e2e coverage analysis docs
2023-12-02 16:50:01 +08:00
Vacant2333
d3a87c3c9c
add e2e coverage analysis
...
Signed-off-by: Vacant2333 <vacant2333@gmail.com>
2023-12-02 13:19:29 +08:00
zhy76
adef1e5974
feat: add license and verify license for code file
...
Signed-off-by: zhy76 <958474674@qq.com>
2023-11-16 11:11:21 +08:00
yike21
14c0795ed1
test: add e2e test to cover PropagationPolicy
...
Signed-off-by: yike21 <yike21@qq.com>
2023-08-09 08:58:05 +08:00
chaunceyjiang
b9b1006965
e2e: should be queried on member clusters rather than the control plane
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2023-06-25 18:03:04 +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
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
RainbowMango
a1e8f164cb
adopt static check issues
...
Signed-off-by: RainbowMango <qdurenhongcai@gmail.com>
2023-01-31 09:22:41 +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
jwcesign
252dd7de97
Fix PP/CPP e2e probabilistic failure
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-15 19:50:29 +08:00
jwcesign
4c6fc6e367
Implement priority of PropagationPolicy/ClusterPropagationPolicy
...
Signed-off-by: jwcesign <jiangwei115@huawei.com>
2022-11-14 23:07:38 +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
chaunceyjiang
d171aa1cf1
add implicit priority UT for pp
...
Signed-off-by: chaunceyjiang <chaunceyjiang@gmail.com>
2022-10-07 23:18:48 +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
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
eec51a5a7a
move cleanup to ginkgo setup node
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2022-04-14 09:10:11 +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
changzhen
35f8a1ef52
refactor:add framework for e2e
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-11-24 14:08:36 +08:00
changzhen
8dfd57c2fe
add framework for e2e
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-10-21 14:08:27 +08:00
esto
a6165e47f9
update import-aliases
...
Signed-off-by: esto <1291156784@qq.com>
2021-09-15 15:13:14 +08:00
lihanbo
8e90d2c93f
fix bug of distributing job
...
Signed-off-by: lihanbo <lihanbo2@huawei.com>
2021-08-11 19:47:03 +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
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
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
350adfcccf
add deploymentStatus collection testing ( #255 )
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-04-06 11:50:36 +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
2f57916254
add basic pod propagation test
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-03-12 19:30:41 +08:00
Zhen Chang
b3dfc1d1f7
add basic service propagation testing ( #212 )
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2021-03-12 09:50:22 +08:00