Skip to content

Commit d90c5b4

Browse files
jfrocheyvan-sraka
authored andcommitted
chore(ext): document exceptions to generic extension tests
This helps us identify why certain extensions do not use the generic tests.
1 parent baf7645 commit d90c5b4

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
@@ -158,3 +158,6 @@ self.inputs.nixpkgs.lib.nixos.runTest {
158158
check_upgrade_path("17")
159159
'';
160160
}
161+
# We don't use the generic test for this extension because:
162+
# http is not using semver versioning scheme, so we need to adapt the version checks
163+
# 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
@@ -164,3 +164,6 @@ self.inputs.nixpkgs.lib.nixos.runTest {
164164
test.check_upgrade_path("17")
165165
'';
166166
}
167+
# We don't use the generic test for this extension because:
168+
# pg_repack does not support upgrade as the extension doesn't provide the upgrade SQL scripts
169+
# 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
@@ -230,3 +230,4 @@ self.inputs.nixpkgs.lib.nixos.runTest {
230230
check_upgrade_path("orioledb-17")
231231
'';
232232
}
233+
# We don't use the generic test for this extension because: it requires postgis to be installed as well.

0 commit comments

Comments
 (0)