zach593
2b7ad8e673
use singleton rate limiter for dynamically created member cluster clients
...
Signed-off-by: zach593 <zach_li@outlook.com>
2025-04-30 21:26:12 +08:00
wei-chenglai
d1d6a993fe
add SchedulePriority e2e tests
...
Signed-off-by: wei-chenglai <qazwsx0939059006@gmail.com>
2025-04-17 21:49:13 -04:00
Mohamed Awnallah
74522cd394
test/e2e/suites: `FindString` to match the address
...
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Co-authored-by: zhzhuang-zju <m17799853869@163.com>
2025-04-08 16:19:48 +00:00
Mohamed Awnallah
e37b2dcf05
test/e2e/karmadactl_test.go: test register command
...
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Co-authored-by: zhzhuang-zju <m17799853869@163.com>
2025-04-03 10:28:02 +00:00
zach593
1e3795e3b8
don't add cluster name to hostname field when aggregate service status
...
Signed-off-by: zach593 <zach_li@outlook.com>
2025-03-30 21:43:45 +08:00
zhzhuang-zju
c2f7618a23
e2e: add sidecar configuration e2e test
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-03-26 16:40:58 +08:00
zhzhuang-zju
4e592c1bee
add operator e2e suites
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-02-26 10:35:15 +08:00
JimDevil
35fc67faf9
add e2e test for karmada-search proxy
...
Signed-off-by: JimDevil <709192853@qq.com>
2025-02-20 15:45:15 +08:00
zhzhuang-zju
33c8b7b6b0
Refactor the e2e test architecture
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2025-02-17 10:05:01 +08:00
chaosi-zju
5db980daa5
introduce tests to check whether workqueue metrics exist.
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2025-02-06 16:57:51 +08:00
chaosi-zju
5b7df5b231
fix rebalancer auto deleted failed
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-12-28 17:52:32 +08:00
zhzhuang-zju
35c4adf0b2
fix flake test of KarmadactlTopPod
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-12-10 14:28:45 +08:00
chaosi-zju
13c28a00b2
fix code typo errors
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-11-28 11:01:54 +08:00
zach593
e2827b1b2e
Add index for Work to speed up the processing of resource binding related controllers
...
Signed-off-by: zach593 <zach_li@outlook.com>
2024-11-19 11:48:04 +08:00
Amir Alavi
1a7409d815
chore: unify karmada labels/annotations usage in execution controller and test
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-10-26 14:06:04 -04:00
wulemao
90c70dfd66
add e2e for migration rollback feature
...
Signed-off-by: wulemao <1194736083@qq.com>
2024-10-26 11:58:45 +08:00
sophie
6bf6f305b8
feat: add fieldoverrider
...
Signed-off-by: sophie <yl5357@columbia.edu>
2024-10-08 10:36:32 -04:00
changzhen
998c547414
fix occasional suspension case failed
...
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-09-11 17:28:14 +08:00
Mohamed Awnallah
be87fd5e71
pkg+test: unify usage of policyv1alpha1 operators
...
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-09-09 22:56:47 +03: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
karmada-bot
6b6a16dac7
Merge pull request #5457 from zhzhuang-zju/toppod
...
Provide detailed error message when the e2e test fails
2024-08-29 20:29:46 +08:00
karmada-bot
bd483c141d
Merge pull request #5454 from whitewindmills/words-cleanup
...
Fix spelling errors
2024-08-29 19:43:46 +08:00
zhzhuang-zju
a379359cf4
Provide detailed error message when the e2e test fails
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-29 17:31:28 +08:00
whitewindmills
b4ad838227
Fix spelling errors
...
Signed-off-by: whitewindmills <jayfantasyhjh@gmail.com>
2024-08-29 15:58:05 +08:00
hulizhe
1a34a70ef3
enhance top pod command
...
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-29 10:50:30 +08:00
zhzhuang-zju
effc1474ac
e2e: add a test case when the GracePeriodSeconds is reach out
...
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-26 10:22:26 +08:00
Mohamed Awnallah
c325eee158
test/e2e/karmadactl_test.go: test apply command
...
In this commit, we add e2e tests for the `karmadactl apply`
command to ensure it handles various scenarios correctly.
The tests include:
- Applying configurations without propagating them into member clusters.
- Applying configurations with propagation into specific member clusters.
- Applying configurations and propagating them to all member clusters.
- Verifying that no resources were created during `--dry-run` mode.
- Ensuring the command returns an error for an invalid flag.
- Ensuring the command returns an error when the specified file does not exist.
- Applying configurations with the `--namespace` flag to ensure resources are created in the specified namespace.
- Applying configurations with the `--force-conflicts` flag to ensure conflicts are forcefully resolved during server-side apply.
- Applying configurations using the `--kustomize` flag to process a kustomization directory.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Co-authored-by: zhzhuang-zju <m17799853869@163.com>
Co-authored-by: Chang <changzhen5@huawei.com>
2024-08-20 11:13:00 +00:00
karmada-bot
24de174b35
Merge pull request #5398 from hulizhe/karmadactlexec
...
enhance karmadactl exec command
2024-08-19 18:14:37 +08:00
hulizhe
914d57ca89
enhance karmadactl exec command
...
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 16:10:57 +08:00
hulizhe
6eae2b9ba9
karmadactl describe e2e test
...
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 15:38:18 +08:00
hulizhe
37a6dc93d2
karmadactl get e2e test
...
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 10:17:21 +08:00
karmada-bot
c575d4f211
Merge pull request #5383 from a7i/remove-delete-tests
...
chore: remove e2e tests for delete when suspended
2024-08-16 11:09:35 +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
chaosi-zju
e7e06ceed8
fix pdb collection testing occasional failure
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-08-15 21:28:00 +08: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
karmada-bot
223e54e90d
Merge pull request #5258 from chaosi-zju/e2e-3
...
flake test: daemonSet status collection testing failed
2024-08-13 12:04:32 +08:00
karmada-bot
b5b065da8a
Merge pull request #5332 from a7i/work-suspend-event
...
work suspension: emit event for work dispatch status
2024-08-12 13:57:31 +08:00
karmada-bot
f5f53c33c8
Merge pull request #5141 from liangyuanpeng/fix_test_k8s1.30
...
Fix test for corev1.LoadBalancerIngress,add IP model to VIP when ip is setting.
2024-08-12 11:23:32 +08:00
Lan Liang
c9ccf9a849
Fix test for corev1.LoadBalancerIngress,add IP model to VIP when ip is setting.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-08-09 10:23:06 +00: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
Mohamed Awnallah
f59ea2dea6
test/e2e: unfiy random string length generation
...
In this commit, we unify the generation of random string
length by utilizing `RandomStrLength` global constant.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
2024-08-09 07:56:59 +00:00
karmada-bot
052b06ecc2
Merge pull request #5333 from a7i/duplicate-import
...
chore: remove duplicate imports
2024-08-09 14:52:29 +08:00
Amir Alavi
010d38954e
chore: remove duplicate imports
...
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-08 23:22:37 -04:00
chaosi-zju
10f118d551
flake test: daemonSet status collection testing failed
...
Signed-off-by: chaosi-zju <chaosi@zju.edu.cn>
2024-08-08 15:07:05 +08: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
xovoxy
38ee277de7
optimize: used unified context in controller
...
Signed-off-by: xovoxy <xilovele@gmail.com>
2024-08-06 11:44:20 +08:00
karmada-bot
920baceafd
Merge pull request #4838 from a7i/work-suspend
...
feat: cluster-level resource propagation pause and resume capabilities
2024-08-06 09:38:27 +08:00
karmada-bot
8b4e006f03
Merge pull request #5244 from mohamedawnallah/testKarmadactlTaintCommand
...
test/e2e/karmadactl_test.go: test taint command
2024-08-05 17:23:26 +08:00
Mohamed Awnallah
37af811de6
test/e2e/karmadactl_test.go: test taint command
...
In this commit, we add e2e tests for the `karmadactl taint`
command to ensure it handles various scenarios correctly.
The tests include:
- Applying taints with different effects (NoSchedule, NoExecute) to a cluster.
- Reapplying taints without the `--overwrite` flag to ensure an error is returned.
- Overwriting existing taints using the `--overwrite` flag.
- Removing taints from a cluster.
- Running the taint command in `--dry-run` mode to ensure no actual changes are made.
- Verifying that taints were not applied during `--dry-run` mode.
- Ensuring the command returns an error for an invalid flag.
- Ensuring the command returns an error when attempting to taint a non-existent cluster.
Signed-off-by: Mohamed Awnallah <mohamedmohey2352@gmail.com>
Co-authored-by: zhzhuang-zju <m17799853869@163.com>
2024-08-05 03:48:17 +00:00