diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/test/modules/test_integerset/expected/test_integerset.out | 27 | ||||
-rw-r--r-- | src/test/modules/test_integerset/sql/test_integerset.sql | 8 |
2 files changed, 24 insertions, 11 deletions
diff --git a/src/test/modules/test_integerset/expected/test_integerset.out b/src/test/modules/test_integerset/expected/test_integerset.out index d7c88ded092..822dd031e9e 100644 --- a/src/test/modules/test_integerset/expected/test_integerset.out +++ b/src/test/modules/test_integerset/expected/test_integerset.out @@ -1,12 +1,29 @@ CREATE EXTENSION test_integerset; -- --- These tests don't produce any interesting output. We're checking that --- the operations complete without crashing or hanging and that none of their --- internal sanity tests fail. They print progress information as INFOs, --- which are not interesting for automated tests, so suppress those. +-- All the logic is in the test_integerset() function. It will throw +-- an error if something fails. -- -SET client_min_messages = 'warning'; SELECT test_integerset(); +NOTICE: testing intset with empty set +NOTICE: testing intset with distances > 2^60 between values +NOTICE: testing intset with single value 0 +NOTICE: testing intset with single value 1 +NOTICE: testing intset with single value 18446744073709551614 +NOTICE: testing intset with single value 18446744073709551615 +NOTICE: testing intset with value 0, and all between 1000 and 2000 +NOTICE: testing intset with value 1, and all between 1000 and 2000 +NOTICE: testing intset with value 1, and all between 1000 and 2000000 +NOTICE: testing intset with value 18446744073709551614, and all between 1000 and 2000 +NOTICE: testing intset with value 18446744073709551615, and all between 1000 and 2000 +NOTICE: testing intset with pattern "all ones" +NOTICE: testing intset with pattern "alternating bits" +NOTICE: testing intset with pattern "clusters of ten" +NOTICE: testing intset with pattern "clusters of hundred" +NOTICE: testing intset with pattern "one-every-64k" +NOTICE: testing intset with pattern "sparse" +NOTICE: testing intset with pattern "single values, distance > 2^32" +NOTICE: testing intset with pattern "clusters, distance > 2^32" +NOTICE: testing intset with pattern "clusters, distance > 2^60" test_integerset ----------------- diff --git a/src/test/modules/test_integerset/sql/test_integerset.sql b/src/test/modules/test_integerset/sql/test_integerset.sql index 34223afa885..9d970dd1f9e 100644 --- a/src/test/modules/test_integerset/sql/test_integerset.sql +++ b/src/test/modules/test_integerset/sql/test_integerset.sql @@ -1,11 +1,7 @@ CREATE EXTENSION test_integerset; -- --- These tests don't produce any interesting output. We're checking that --- the operations complete without crashing or hanging and that none of their --- internal sanity tests fail. They print progress information as INFOs, --- which are not interesting for automated tests, so suppress those. +-- All the logic is in the test_integerset() function. It will throw +-- an error if something fails. -- -SET client_min_messages = 'warning'; - SELECT test_integerset(); |