amb: added some mdb updating support to test configuration file.
authorIsmo Puustinen <ismo.puustinen@intel.com>
Fri, 30 Nov 2012 09:38:43 +0000 (11:38 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Thu, 8 Jan 2015 16:37:08 +0000 (18:37 +0200)
src/plugins/tests/amb-conf.lua

index 64b0733..685c9ce 100644 (file)
@@ -90,11 +90,12 @@ test_handler = function (self, property)
     print("d.property : " .. d.property)
     print("d.signature: " .. d.signature)
 
-    self.basic_table_name = "foo"
-
     table = self.outputs.test_table
 
     print("table name: " .. table.name)
+
+    table:replace({ test_value = property })
+
 end
 
 amb.property {
@@ -106,7 +107,7 @@ amb.property {
             index = { "test_value" },
             create = true,
             columns = {
-                { "test_value", mdb.unsigned },
+                { "test_value", mdb.string, 32 },
             }
         }
     },