Commit Graph

5802 Commits

Author SHA1 Message Date
karmada-bot bcf68fadcb
Merge pull request #5409 from NishantBansal2003/ut-detector
Improved test coverage for policy in pkg/detector
2024-08-23 10:24:41 +08:00
Anuj Agrawal daf29c5112 Added test files for pkg/util/fedinformer
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added tests for pkg/util/fedinformer

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added tests for pkg/util/fedinformer

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added tests for pkg/util/fedinformer

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added tests for pkg/util/fedinformer

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-22 15:47:38 +05:30
karmada-bot dc1669db71
Merge pull request #5388 from yashpandey06/test/binding
Added tests in pkg/binding for condition coverage
2024-08-22 10:31:41 +08:00
karmada-bot 756390459b
Merge pull request #5274 from varshith257/test-1
Add some tests for `pkg/scheduler`
2024-08-22 10:29:40 +08:00
Vamshi Maskuri 49adbf8204 refactor
Signed-off-by: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com>

add review comments

Signed-off-by: Vamshi Maskuri <117595548+varshith257@users.noreply.github.com>

fix lint
2024-08-21 22:28:42 +05:30
Yash Pandey 7bef0986ca Added and modified tests in binding common
Signed-off-by: Yash Pandey <yash.pandey@agoda.com>
2024-08-21 15:38:25 +05:30
Nishant Bansal 87da9a9bc1 Improved test coverage for policy in pkg/detector
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2024-08-20 23:42:40 +05:30
Amir Alavi 5f54261725
fix: work status sync when work dispatching is suspended
Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2024-08-20 10:45:15 -04:00
karmada-bot 23cbfdc527
Merge pull request #5250 from mohamedawnallah/testKarmadactlApplyCommand
test/e2e/karmadactl_test.go: test apply command
2024-08-20 20:05:39 +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 d4bfbb5a70
Merge pull request #5390 from NishantBansal2003/unit-tests-detector
Improved test coverage for handler in pkg/detector
2024-08-20 11:40:38 +08:00
karmada-bot 2c1e0f8b4e
Merge pull request #5368 from anujagrawal699/addedTests-pkg/controllers/namespace
Added test for namespace controller
2024-08-20 10:53:38 +08:00
zhzhuang-zju 3af667c62c karmadactl supports top node
Signed-off-by: zhzhuang-zju <m17799853869@163.com>
2024-08-19 20:06:32 +08:00
karmada-bot 6318541d18
Merge pull request #5367 from chaosi-zju/helm0813
a quick fix of ca.crt not found in helm installation
2024-08-19 18:28:37 +08:00
karmada-bot 08560fd885
Merge pull request #5379 from iawia002/cidr
charts/karmada: support custom cluster service CIDR
2024-08-19 18:26:38 +08:00
karmada-bot 24de174b35
Merge pull request #5398 from hulizhe/karmadactlexec
enhance karmadactl exec command
2024-08-19 18:14:37 +08:00
karmada-bot 7307e2e1fb
Merge pull request #5227 from XiShanYongYe-Chang/fix-remedy-ci-failed
fix the error of cluster status old condition update will overwrite the newest condition
2024-08-19 18:07:38 +08:00
hulizhe a6aa08e6b3 add new command karmadactl create
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 17:16:44 +08:00
karmada-bot c7571227f5
Merge pull request #5392 from hulizhe/karmadactldescribe
enhance karmadactl describe command
2024-08-19 16:50:38 +08:00
changzhen b59761efcf fix error of when cluster status condition update
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-08-19 16:34:50 +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 668a994bf9 add new command karmadactl api-resources
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 15:57:26 +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 2249abd818 enhance karmadactl describe command
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 15:37:52 +08:00
karmada-bot 51b2e10ccc
Merge pull request #4824 from liangyuanpeng/cleanup_ghaction
chore: remove unuse ghaction step and collect logs of karmadactl test.
2024-08-19 15:09:38 +08:00
karmada-bot 1604078ec6
Merge pull request #5385 from XiShanYongYe-Chang/update-dispatch-suspension-proposal
add some corner case description for dispath suspension proposal
2024-08-19 14:30:38 +08:00
karmada-bot 7eb8590b01
Merge pull request #5369 from iawia002/post-install
charts/karmada: ignore the static-resource Pod in the post-install check
2024-08-19 14:26:38 +08:00
Lan Liang afc62fe25e chore: remove unuse ghaction step and collect logs of karmadactl test.
Signed-off-by: Lan Liang <gcslyp@gmail.com>
2024-08-19 05:00:43 +00:00
karmada-bot f3ae66ba60
Merge pull request #5254 from hulizhe/karmadactlget
Enhance the capabilities of the karmadactl get command
2024-08-19 12:01:38 +08:00
karmada-bot 40e3337e14
Merge pull request #5372 from NishantBansal2003/unit-tests-resourceinterpreter
Improved test coverage for default.go and other related files in pkg/resourceinterpreter
2024-08-19 11:50:38 +08:00
hulizhe 37a6dc93d2 karmadactl get e2e test
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 10:17:21 +08:00
hulizhe 99ef7a3b59 enhance karmadactl get command
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-19 10:16:46 +08:00
Anuj Agrawal 4cc0c20a7c Added tests for namespace controller
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-17 20:50:49 +05:30
Anuj Agrawal b00fac8069 Added tests for namespace controller
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-17 19:15:53 +05:30
karmada-bot 5b70380799
Merge pull request #5389 from khanhtc1202/add-hack-note
Add note about local-down-karmada.sh script to hack README
2024-08-17 11:34:36 +08:00
Nishant Bansal ad9c16d5a8 Improved test coverage for handler in pkg/detector
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2024-08-16 23:18:08 +05:30
khanhtc1202 7518ce3ae9 Add note about local-down-karmada.sh script to hack README
Signed-off-by: khanhtc1202 <khanhtc1202@gmail.com>
2024-08-16 22:36:36 +07:00
Nishant Bansal 2818bae8ff Improved test coverage for default.go and other related files in pkg/resourceinterpreter
Signed-off-by: Nishant Bansal <nishant.bansal.mec21@iitbhu.ac.in>
2024-08-16 16:32:31 +05:30
Xinzhao Xu 8f3e32c7eb charts/karmada: ignore the static-resource Pod in the post-install check
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2024-08-16 18:23:07 +08:00
karmada-bot bcefb22baa
Merge pull request #5373 from zhzhuang-zju/releasenote1.10
Add release notes of v1.8.7, v1.9.6, v1.10.4
2024-08-16 16:31:35 +08:00
Xinzhao Xu 2d8339a669 charts/karmada: support custom cluster service CIDR
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2024-08-16 13:24:49 +08:00
Xinzhao Xu f134f7fc6b charts/karmada: fix the creation condition of metrics-adapter related APIService
Signed-off-by: Xinzhao Xu <z2d@jifangcheng.com>
2024-08-16 11:12:07 +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 b99fb638e1 add corner case for dispath suspension proposal
Signed-off-by: changzhen <changzhen5@huawei.com>
2024-08-16 11:01:36 +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
karmada-bot e7cb1332c5
Merge pull request #5318 from chaosi-zju/fixpatch
fix expected patch operations may be missed when AggregateStatus
2024-08-16 10:29:35 +08:00
karmada-bot 4ac6285ddf
Merge pull request #5382 from chaosi-zju/master
fix pdb collection testing occasional failure
2024-08-16 10:24:35 +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
karmada-bot 3beafb5cbb
Merge pull request #5376 from a7i/suspend-delete-work
fix: allow suspended work to get deleted
2024-08-16 10:00:35 +08: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