~ubuntu-branches/debian/jessie/mysql-utilities/jessie

« back to all changes in this revision

Viewing changes to mysql-test/t/copy_db_exclude.py

  • Committer: Package Import Robot
  • Author(s): Dmitry Smirnov
  • Date: 2013-05-14 15:02:12 UTC
  • mfrom: (4.1.1 experimental)
  • Revision ID: package-import@ubuntu.com-20130514150212-cfj83guqqo0kx7l0
Tags: 1.1.2-1
* Upload to unstable.
* "X-Python-Version: >= 2.7" to stop using deprecated python-2.6.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
        from_conn = "--source=" + self.build_connection_string(self.server1)
26
26
        to_conn = "--destination=" + self.build_connection_string(self.server2)
27
27
 
28
 
        cmd_str = "mysqldbcopy.py %s %s --skip=grants " % (from_conn, to_conn)
 
28
        cmd_str = "mysqldbcopy.py --skip-gtid %s %s --skip=grants " % \
 
29
                  (from_conn, to_conn)
29
30
        cmd_str += "util_test:util_db_clone "
30
31
 
31
32
        comment = "Test case 1 - exclude by name"
51
52
        if not res:
52
53
            raise MUTLibError("%s: failed" % comment)
53
54
 
 
55
        # Ignore GTID messages (skipping GTIDs in this test)
 
56
        self.remove_result("# WARNING: The server supports GTIDs")
 
57
 
54
58
        return True
55
59
 
56
60
    def get_result(self):