Post installation
Validate basic functionalities
Run the installcheck test suite to verify basic functionality. It is recommended to test with both Orca (the query optimizer) enabled and disabled:
# Run tests with Orca optimizer enabled
PGOPTIONS='-c optimizer=on' make --directory=~/cloudberry installcheck
# Run tests with Orca optimizer disabled
PGOPTIONS='-c optimizer=off' make --directory=~/cloudberry installcheck
tip
Even though Orca is the default Cloudberry optimizer, you must explicitly set optimizer=on when running installcheck. Without this setting, the explain test will fail due to missing the explicit configuration option.
1. Test results
The installcheck target provides a basic test of functionality. During execution, you'll see output like this:
test tablespace ... ok 3236 ms (diff 76 ms)
parallel group (20 tests): pg_lsn oid txid name char varchar int2 regproc text ...
boolean ... ok 862 ms (diff 56 ms)
char ... ok 419 ms (diff 87 ms)
explain ... FAILED 310 ms (diff 139 ms)
At the end, you'll see a summary, for example:
========================
1 of 658 tests failed.
========================
If any tests fail:
regression.diffs: Shows differences between actual and expected resultsregression.out: Contains the complete test execution output
The files will be located in /home/gpadmin/cloudberry/src/test/regress/.
note
installcheck is just one of several test schedules available. This guide focuses on basic development environment setup and validation.