From bdf8d933f022f8a018001f65234d64d8826dfbae Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Thu, 10 Jun 2010 17:40:16 +0000
Subject: [PATCH] After hot reindex, verify that default catalog is the new
 one.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@36249 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ERP5Catalog/tests/testERP5Catalog.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/product/ERP5Catalog/tests/testERP5Catalog.py b/product/ERP5Catalog/tests/testERP5Catalog.py
index 38587ea027..574970a5cb 100644
--- a/product/ERP5Catalog/tests/testERP5Catalog.py
+++ b/product/ERP5Catalog/tests/testERP5Catalog.py
@@ -1759,6 +1759,7 @@ class TestERP5Catalog(ERP5TypeTestCase, LogInterceptor):
     # Flush message queue
     transaction.commit()
     self.tic()
+    self.assertEqual(portal_catalog.getSQLCatalog().getId(), new_catalog_id)
     # Check that column map is updated according new structure of catalog.
     self.assertTrue('dummy.dummy_title' in portal_catalog.getSQLCatalog().getColumnMap())
     # Check more cached methods of SQLCatalog by building SQLQuery
-- 
2.30.9