Skip to content

Commit

Permalink
TEIID-4011 refining the test to prevent false invalidation
Browse files Browse the repository at this point in the history
  • Loading branch information
shawkins committed Apr 15, 2016
1 parent 91b6dd0 commit 811cf32
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -481,7 +481,12 @@ public void run() {
+ "OPTIONS (MATERIALIZED true, \"teiid_rel:ALLOW_MATVIEW_MANAGEMENT\" true, \"teiid_rel:MATVIEW_TTL\" 200) AS select 1, current_database(); "
+ "CREATE VIEW v2 ( col integer, col1 string, primary key (col, col1) ) "
+ "OPTIONS (MATERIALIZED true, \"teiid_rel:ALLOW_MATVIEW_MANAGEMENT\" true) AS select 1, current_database()");
server.deployVDB("comp", mmd2);
VDBMetaData vdb = new VDBMetaData();
vdb.setXmlDeployment(true);
vdb.setName("comp");
vdb.setModels(Arrays.asList(mmd2));
vdb.addProperty("lazy-invalidate", "true");
server.deployVDB(vdb);

Connection c = server.getDriver().connect("jdbc:teiid:comp", null);
Statement s = c.createStatement();
Expand Down

0 comments on commit 811cf32

Please sign in to comment.