The expected output for test_create_aggregate_store could vary because the PRAGMA index_list statement is producing different outputs depending on what machine is being used to run the test.
I ran this test on Centos 7.0 and saw that test_create_aggregate_store failed because the actual output did not match the expected output. This test makes a PRAGMA statement to get a list of indexes and then compares that list to the expected list. When this test is run on Ubutntu, the PRAGMA statement returns ["0|idx_AVG_1984|0|c|0", "1|sqlite_autoindex_AVG_1984_1|1|u|0"], but on Centos 7.0, it returns ['0|idx_AVG_1984|0', '1|sqlite_autoindex_AVG_1984_1|1']. To ensure that tests can run on both flavors of Linux, this PR modifies the assertion test in test_create_aggregate_store.
Type of change
Please delete options that are not relevant.
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description
The expected output for
test_create_aggregate_store
could vary because the PRAGMA index_list statement is producing different outputs depending on what machine is being used to run the test.I ran this test on Centos 7.0 and saw that
test_create_aggregate_store
failed because the actual output did not match the expected output. This test makes a PRAGMA statement to get a list of indexes and then compares that list to the expected list. When this test is run on Ubutntu, the PRAGMA statement returns["0|idx_AVG_1984|0|c|0", "1|sqlite_autoindex_AVG_1984_1|1|u|0"]
, but on Centos 7.0, it returns['0|idx_AVG_1984|0', '1|sqlite_autoindex_AVG_1984_1|1']
. To ensure that tests can run on both flavors of Linux, this PR modifies the assertion test intest_create_aggregate_store
.Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Checklist: