You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudberry.apache.org by "robertmu (via GitHub)" <gi...@apache.org> on 2025/10/13 14:02:51 UTC

[PR] feat(testing): Improve multi-DB compatibility in unit tests [cloudberry-backup]

robertmu opened a new pull request, #58:
URL: https://github.com/apache/cloudberry-backup/pull/58

   Refactor the unit test framework to properly support running tests against different database types (GPDB and CBDB) and versions.
   
   - Introduce `TEST_DB_TYPE` and rename `TEST_GPDB_VERSION` to `TEST_DB_VERSION` in the Makefile for clearer test configuration.
   
   - Update test utilities to use these new environment variables to set up the correct database context for each test run.
   
   - Dynamically generate test data in `restore/wrappers_test.go` to prevent version compatibility panics when running the full test suite.
   
   This makes our testing more robust and easier to maintain.
   
   Fixes #57


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org


Re: [PR] feat(testing): Improve multi-DB compatibility in unit tests [cloudberry-backup]

Posted by "tuhaihe (via GitHub)" <gi...@apache.org>.
tuhaihe merged PR #58:
URL: https://github.com/apache/cloudberry-backup/pull/58


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cloudberry.apache.org
For additional commands, e-mail: commits-help@cloudberry.apache.org