| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
also file having basic information about installed postgresql
package. This is only human-readable ATM.
|
|
|
|
|
|
|
|
|
|
| |
Because we usually mount /var/lib/pgsql/data into container,
scripts would fail on 'rm -rf /var/lib/pgsql/data'.
* generate (GEN_DATA): Use $PGHOME/data/data.
(single_task): Generate tarball from proper datadir.
* prep: Use 'dnf' when necessary. Use /var/lib/pgsql/data/data
directory.
|
|
|
|
|
| |
(dtf_postgresql_upgrade_matrix): Fix the matrix mainly for f22 and
f23.
|
|
|
|
|
|
|
| |
* postgresql-tests/lib_pgsql.sh (dtf_postgresql_initdb): New
initdb wrapper.
* postgresql-tests/tasks/upstream-testsuite/runtest.sh: New
testcase.
|
|
|
|
|
|
| |
* lib_pgsql.sh (dtf_postgresql_phase_cleanup): Remove all logs.
(dtf_postgresql_checkphase): Fail if some logs are present.
* tasks/upgrade/locale/changed/runtest.sh: New file.
|
|
|
|
|
|
|
|
| |
* tasks/initdb: Move to tasks/initdb/basic.
* tasks/initdb_old: Move to tasks/initdb/old-syntax.
* tasks/upgrade-basic: Moved to tasks/upgrade/basic.
* tasks/upgrade-locale-utf8-syntax: Moved to
tasks/upgrade/locale/utf8-syntax.
|
|
|
|
|
|
|
| |
* postgresql-tests/tasks/upgrade-basic/runtest.sh: Sync the test
name with directory name.
* postgresql-tests/tasks/upgrade-utf8-syntax/runtest.sh: Rename to
postgresql-tests/tasks/upgrade-locale-utf8-syntax/runtest.sh.
|
|
|
|
| |
* postgresql-tests/config.sh: Use office accessible IP.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Define test return values and its calling. Do not split the
testcase into configuration and running script, rather use one
file and wrap the script by run() method. This is still very easy
to run without running whole testsuite.
* tester/run (DTF_RESULT_*): Return values API.
(run): Rename to run_test. Make the function more readable, don't
generate xml results (not yet used anyway).
* postgresql-tests/config.sh: Do not source the per-testsuite
library directly as the configuration script config.h is sourced
even by 'run' script itself for --dist option (for that action we
actually do not need per-testsuite libraries).
* postgresql-tests/tasks/initdb/runtest.sh: New API used.
* postgresql-tests/tasks/initdb_old/runtest.sh: Likewise.
* postgresql-tests/tasks/upgrade-basic/runtest.sh: Likewise.
* postgresql-tests/tasks/upgrade-utf8-syntax/runtest.sh: Likewise.
* postgresql-tests/tasks/upgrade-basic/config.sh: Remove.
* postgresql-tests/tasks/initdb/config.sh: Remove.
* postgresql-tests/tasks/initdb_old/config.sh: Remove.
* postgresql-tests/tasks/upgrade-utf8-syntax/config.sh: Remove.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Turns out that our OpenStack has poor connectivity to Brno so I
added data mirror on one VM on OS1.
* postgresql-tests/lib_pgsql.sh (dtf_postgresql_data_mirror): New
PostgreSQL related API.
* postgresql-tests/config.sh ($dtf_dataurl): Removed PG API
variable.
($dtf_dataurls): Substitution for $dtf_dataurl; Array of possible
data URLs.
* postgresql-tests/tasks/upgrade-basic/runtest.sh: Reuse new PG
API^.
* postgresql-tests/tasks/upgrade-utf8-syntax/runtest.sh: Likewise.
|
|
Try to split into three separate components -> controller, tester,
and 'tasks' (postgresql-tasks in our case). The controller
component is the main part which is able to run the task remotely.
Tester is more-like library for 'tasks' component (should be
reusable on the raw git level).
* controller: Almost separated component.
* postgresql-tasks: Likewise.
* tester: Likewise.
|