Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[yugabyted] Add Unit test framework for yugabyted project #18233

Closed
1 task done
nchandrappa opened this issue Jul 13, 2023 · 0 comments
Closed
1 task done

[yugabyted] Add Unit test framework for yugabyted project #18233

nchandrappa opened this issue Jul 13, 2023 · 0 comments
Assignees
Labels
area/ecosystem Label for all ecosystem related projects kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue

Comments

@nchandrappa
Copy link
Contributor

nchandrappa commented Jul 13, 2023

Jira Link: DB-7242

Description

Currently, the yugabyted project mainly relies on manual testing and iTests. There have been instances where bugs in the yugabyted code are not found until the QA signoff. Hence it is essential to add unit tests for yugabyted project.

Yugabyted unit tests will be added in yugabyte-db/java/yb-yugabyted folder and it will similar to YB java tests currently being used for YCQL and YSQL testing. Instead of using yb-master and yb-tserver CLI, tests in yb-yugabyted project will use yugabyted CLI.

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
@nchandrappa nchandrappa added area/ecosystem Label for all ecosystem related projects status/awaiting-triage Issue awaiting triage area/ybd yugabyted project related Github tickets. labels Jul 13, 2023
@nchandrappa nchandrappa self-assigned this Jul 13, 2023
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels Jul 13, 2023
@nchandrappa nchandrappa removed the kind/bug This issue is a bug label Jul 26, 2023
@yugabyte-ci yugabyte-ci added kind/enhancement This is an enhancement of an existing feature and removed status/awaiting-triage Issue awaiting triage area/ybd yugabyted project related Github tickets. labels Jul 26, 2023
nchandrappa added a commit that referenced this issue Jun 25, 2024
Summary: Initial commit for yugabyted unit test framework. Adding support for MiniYugabytedCluster.

Test Plan: ./yb_build.sh --java-test 'org.yb.yugabyted.TestYugabytedMasterStatus#testSingleLeader'

Reviewers: sgarg-yb, shikhar.sahay

Reviewed By: sgarg-yb, shikhar.sahay

Subscribers: yugabyted-dev

Differential Revision: https://phorge.dev.yugabyte.com/D35863
Sumukh-Phalgaonkar added a commit that referenced this issue Jun 25, 2024
Summary:
This reverts commit acf11d8.

The bad commit acf11d8 has broken the master. Reverting it to unblock high priority diffs.

Test Plan:
Jenkins: compile only
Jenkins: urgent

Reviewers: sgarg-yb, siddharth.shah, skumar, hsunder, nikhil

Reviewed By: sgarg-yb

Subscribers: yugabyted-dev, ycdcxcluster

Tags: #jenkins-ready

Differential Revision: https://phorge.dev.yugabyte.com/D36113
nchandrappa added a commit that referenced this issue Jun 27, 2024
Summary:
Initial commit for yugabyted unit test framework. Adding support for MiniYugabytedCluster.

Updating the parent version to 0.8.91-SNAPSHOT.

Test Plan: ./yb_build.sh --java-test 'org.yb.yugabyted.TestYugabytedMasterStatus#testSingleLeader'

Reviewers: sgarg-yb, shikhar.sahay

Reviewed By: shikhar.sahay

Subscribers: yugabyted-dev

Differential Revision: https://phorge.dev.yugabyte.com/D36187
jasonyb pushed a commit that referenced this issue Jun 28, 2024
Summary:
 9c637e2 [PLAT-14429]: Modify Troubleshooting Platform registration workflow in YBA
 0a1406d [PLAT-14098]: Updating yb.runtime_conf_ui.tag_filter with appropriate tags value does not display the flags accordingly
 70a87f9 [PLAT-13605][PLAT-13609]: Edit Volume controls and storage type in FULL_MOVE but not in case of UPDATE
 26fbfe0 [PLAT-14515][UI] Clicking preview doesn't show the correct info and clears up the data provided while setting up the ysql_ident or ysql_hba multiline flags.- [PLAT-14514] [PLAT-14513]
 a07946b [#18233] Initial commit for yugabyted unit test framework.
 b2e8ee7 [#22842] docdb: Improve usability of stack trace tracking endpoints
 508f26e [docs] Added RN 2.20.2.3-b2 (#23042)
 214d44a [#22935] YSQL: Use db oid in the tserver's sequence cache entry key
 c47b2d9 [#22802] YSQL: Avoid renaming DocDb tables during legacy rewrite
 Excluded: 7c8343d [#22874] YSQL: Fix cascaded drops on columns
 58c8d4e [#23046] xCluster: Remove ns_replication from the code
 a70681d [#22816] YSQL: Bug fixes for replication connections in ysql connection manager
 b239e07 Doc upgrade versions (#22988)
 Excluded: ec76062 [#16408] YSQL: Split TestPgRegressIndex.testPgRegressIndex

Test Plan: Jenkins: rebase: pg15-cherrypicks

Reviewers: jason, tfoucher

Subscribers: yql

Tags: #jenkins-ready

Differential Revision: https://phorge.dev.yugabyte.com/D36247
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ecosystem Label for all ecosystem related projects kind/enhancement This is an enhancement of an existing feature priority/medium Medium priority issue
Projects
None yet
Development

No branches or pull requests

2 participants