Commit Graph

5621 Commits

Author SHA1 Message Date
karmada-bot 80037ce37f
Merge pull request #5393 from hulizhe/karmadactlexplain
add new command karmadactl explain
2024-08-26 18:22:44 +08:00
hulizhe 216b465e98 add new command explain
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-26 17:29:00 +08:00
karmada-bot fe95aa0758
Merge pull request #5378 from iawia002/metrics-adapter
charts/karmada: fix the creation condition of metrics-adapter related APIService
2024-08-26 17:27:44 +08:00
karmada-bot e13518de1e
Merge pull request #5394 from hulizhe/karmadactlapiresource
add new command karmadactl api-resources
2024-08-26 16:40:44 +08:00
karmada-bot 444b1b5876
Merge pull request #5395 from hulizhe/karmadactlattach
add new command karmadactl attach
2024-08-26 16:22:44 +08:00
karmada-bot 98ddb139fa
Merge pull request #5416 from NishantBansal2003/ut-policy-detector
Improved test coverage for policy in pkg/detector
2024-08-26 16:04:44 +08:00
hulizhe 55c8f909f9 add new command attach
Signed-off-by: hulizhe <pompeii.hu@gmail.com>
2024-08-26 15:21:30 +08:00
karmada-bot cc12739480
Merge pull request #5366 from anujagrawal699/addedTests-pkg/util/fedinformer
Added tests pkg/util/fedinformer
2024-08-26 15:15:44 +08:00
karmada-bot 6eb86ab706
Merge pull request #5399 from hulizhe/karmadactlcreate
add new command karmadactl create
2024-08-26 15:12:44 +08:00
karmada-bot d12df248ce
Merge pull request #4224 from zhzhuang-zju/ctl-top-node
karmadactl supports top node
2024-08-26 12:09:43 +08:00
karmada-bot 36a7255677
Merge pull request #5420 from anujagrawal699/addedTests-operator/pkg/controller/context
Added tests for operator/pkg/controller/context
2024-08-26 12:05:43 +08:00
karmada-bot 3757a2af50
Merge pull request #5421 from NishantBansal2003/ut-dependenciesdistributor
Improved test coverage for dependencies_distributor in pkg/dependenciesdistributor
2024-08-26 11:32:44 +08:00
karmada-bot 70ea9e68d6
Merge pull request #4545 from zhzhuang-zju/e2e
e2e: add a test case when the GracePeriodSeconds is reach out
2024-08-26 11:28:44 +08:00
karmada-bot 4eea6da77d
Merge pull request #5403 from a7i/work-status-suspend
fix: work status sync when work dispatching is suspended
2024-08-26 10:31:43 +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
Nishant Bansal ba39fded7f Improved test coverage for dependencies_distributor in pkg/dependenciesdistributor
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2024-08-25 18:27:44 +05:30
Anuj Agrawal ed82127cbc Added tests for operator/pkg/controller/context
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-24 23:10:35 +05:30
Nishant Bansal 860f3032aa Improved test coverage for policy in pkg/detector
Signed-off-by: Nishant Bansal <nishant.bansal.282003@gmail.com>
2024-08-24 19:51:59 +05:30
karmada-bot aee21b8f48
Merge pull request #5408 from anujagrawal699/addedTests-pkg/servicenameresolutiondetector
Added tests for pkg/servicenameresolutiondetector
2024-08-24 17:08:42 +08:00
Anuj Agrawal 147ede0284 Added tests for pkg/servicenameresolutiondetector
Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>

Added tests for pkg/servicenameresolutiondetector

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

Added tests for pkg/servicenameresolutiondetector

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

Added tests for pkg/servicenameresolutiondetector

Signed-off-by: Anuj Agrawal <anujagrawal380@gmail.com>
2024-08-23 10:24:10 +05:30
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