1. 12 Mar, 2019 13 commits
  2. 11 Mar, 2019 9 commits
  3. 08 Mar, 2019 1 commit
    • Thomas Markwalder's avatar
      [#526,!269] - MySQL unit tests now wipe data, instead of schema · 6af5e78e
      Thomas Markwalder authored
      src/share/database/scripts/mysql/wipe_data.sh.in -
          New shell script which intelligently deletes data from
          the schema IF the schema version matches the expected version
      
      src/lib/mysql/testutils/mysql_schema.*
          destroyMySQLSchema() - modfied to default to calling
          wipeData(), and only destroying the schema if that fails
          or by force flag = true;
      
          createMySQLSchema() - modified to default to calling
          wipeData(), and only recreating the schema if that
          fails or by force flag = true;
      
          wipeData() - new method which runs the
          MySQL wipe_data.sh shell script, passing in the expected
          schema version.
      
      src/share/database/scripts/mysql/dhcpdb_create.mysql
          createAuditRevisionDHCP4()
          createAuditEntryDHCP4()
          createAuditRevisionDHCP6()
          createAuditEntryDHCP6() - added session variable,
          @disable_audit, to allow procedures to be "turned
          off" during data wiping.
      
      src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_mgr_unittest.cc
      src/hooks/dhcp/mysql_cb/tests/mysql_cb_dhcp4_unittest.cc
      src/lib/dhcpsrv/tests/cfg_db_access_unittest.cc
      src/lib/dhcpsrv/tests/host_mgr_unittest.cc
      src/lib/dhcpsrv/tests/mysql_host_data_source_unittest.cc
      src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
          Removed calls to destroy schema from test constructors
      6af5e78e
  4. 07 Mar, 2019 17 commits