Skip to content

Commit 1a9394d

Browse files
committed
chore(ext): document exceptions to generic extension tests
This helps us identify why certain extensions do not use the generic tests.
1 parent 7785101 commit 1a9394d

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

nix/ext/tests/http.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,6 @@ self.inputs.nixpkgs.lib.nixos.runTest {
154154
check_upgrade_path("17")
155155
'';
156156
}
157+
# We don't use the generic test for this extension because:
158+
# http is not using semver versioning scheme, so we need to adapt the version checks
159+
# otherwise the test fails with ERROR: extension "http" has no installation script nor update path for version "1.5.0"

nix/ext/tests/pg_repack.nix

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,6 @@ self.inputs.nixpkgs.lib.nixos.runTest {
160160
test.check_upgrade_path("17")
161161
'';
162162
}
163+
# We don't use the generic test for this extension because:
164+
# pg_repack does not support upgrade as the extension doesn't provide the upgrade SQL scripts
165+
# and fails with ERROR: extension "pg_repack" has no update path from version "1.4.8" to version "1.5.0"

nix/ext/tests/pgrouting.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,3 +226,4 @@ self.inputs.nixpkgs.lib.nixos.runTest {
226226
check_upgrade_path("orioledb-17")
227227
'';
228228
}
229+
# We don't use the generic test for this extension because: it requires postgis to be installed as well.

0 commit comments

Comments
 (0)