In test.functional.test_warehouse.BundleWarehouse#test_bundle_warehouse, A warehouse is constructed for a bundle. Loading partitions from that bundle works OK, but it failes when trying to load partitions from another bundle:
The exception is:
While adding a partition to sqlite warehouse, failed to exec 'CREATE VIRTUAL TABLE p_pERJQxWUVb005001_vt using mod_partition(/tmp/ambry-test/build/build.example.com/casters-0.1.3, build.example.com/generators-0.0.1/demo);'
Note that the first arg to mod_partition is the build path to the bundle, but the second is a cache key to a partition from a different bundle. The first argument should be the build path to the generators bundle.
In test.functional.test_warehouse.BundleWarehouse#test_bundle_warehouse, A warehouse is constructed for a bundle. Loading partitions from that bundle works OK, but it failes when trying to load partitions from another bundle:
The exception is: While adding a partition to sqlite warehouse, failed to exec 'CREATE VIRTUAL TABLE p_pERJQxWUVb005001_vt using mod_partition(/tmp/ambry-test/build/build.example.com/casters-0.1.3, build.example.com/generators-0.0.1/demo);'
Note that the first arg to mod_partition is the build path to the bundle, but the second is a cache key to a partition from a different bundle. The first argument should be the build path to the generators bundle.