Skip to content

Commit 6a7a2c5

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 e38ea29 commit 6a7a2c5

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
@@ -166,3 +166,6 @@ self.inputs.nixpkgs.lib.nixos.runTest {
166166
check_upgrade_path("17")
167167
'';
168168
}
169+
# We don't use the generic test for this extension because:
170+
# http is not using semver versioning scheme, so we need to adapt the version checks
171+
# 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
@@ -172,3 +172,6 @@ self.inputs.nixpkgs.lib.nixos.runTest {
172172
test.check_upgrade_path("17")
173173
'';
174174
}
175+
# We don't use the generic test for this extension because:
176+
# pg_repack does not support upgrade as the extension doesn't provide the upgrade SQL scripts
177+
# 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
@@ -242,3 +242,4 @@ self.inputs.nixpkgs.lib.nixos.runTest {
242242
check_upgrade_path("orioledb-17")
243243
'';
244244
}
245+
# We don't use the generic test for this extension because: it requires postgis to be installed as well.

0 commit comments

Comments
 (0)