]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#93,!51] Fixed MySQL upgrade unit test.
authorMarcin Siodelski <marcin@isc.org>
Sun, 7 Oct 2018 16:40:15 +0000 (18:40 +0200)
committerMarcin Siodelski <marcin@isc.org>
Mon, 8 Oct 2018 18:09:51 +0000 (20:09 +0200)
src/bin/admin/tests/mysql_tests.sh.in

index e62136b1b351f1f10ea4b48a3eb32fcb5faa0c74..a54d1346ceecb68194a2090291eb7d36ab0aa59e 100644 (file)
@@ -382,7 +382,8 @@ EOF
     count=`mysql_execute "${qry}"`
     ERRCODE=$?
     assert_eq 0 $ERRCODE "select from dhcp_option_scope failed. (expected status code %d, returned %d)"
-    assert_eq 4 "$count" "dhcp_option_scope does not contain correct number of entries. (expected %d, returned %d)"
+    # verify that dhcp_option_scope table contains correct number of entries.
+    assert_eq 7 "$count" "dhcp_option_scope does not contain correct number of entries. (expected %d, returned %d)"
 
     #table: scope_id columns to dhcp4_options (upgrade 4.1 -> 5.0)
     # verify that dhcp4_options table includes scope_id