anchor.diff:      galera_06.wait_for_unit("mysql")
       galera_06.wait_for_open_port(3306)
       galera_05.succeed(
  -        "sudo -u testuser mysql -u root -e 'use testdb; select test_id from db1;' -N | grep 41"
  -    )
  -    galera_05.succeed(
  -        "sudo -u testuser mysql -u root -e 'use testdb; create table db2 (test_id INT, PRIMARY KEY (test_id)) ENGINE = InnoDB;'"
  +        "sudo -u testuser mysql -u testuser -e 'use testdb; select test_id from db1;' -N | grep 41"
  +    )
  +    galera_05.succeed(
  +        "sudo -u testuser mysql -u testuser -e 'use testdb; create table db2 (test_id INT, PRIMARY KEY (test_id)) ENGINE = InnoDB;'"
       )
       galera_05.succeed("systemctl stop mysql")
       galera_04.succeed(
           "sudo -u testuser mysql -u testuser -e 'use testdb; insert into db2 values (42);'"
       )
       galera_06.succeed(
  -        "sudo -u testuser mysql -u root -e 'use testdb; create table db3 (test_id INT, PRIMARY KEY (test_id)) ENGINE = InnoDB;'"
  +        "sudo -u testuser mysql -u testuser -e 'use testdb; create table db3 (test_id INT, PRIMARY KEY (test_id)) ENGINE = InnoDB;'"
       )
       galera_04.succeed(
           "sudo -u testuser mysql -u testuser -e 'use testdb; insert into db3 values (43);'"
  
positive.code:           };
            galera = {
              wsrep_on = "ON";
              wsrep_debug = "OFF";
              wsrep_retry_autocommit = "3";
              wsrep_provider = "${pkgs.mariadb-galera}/lib/galera/libgalera_smm.so";
              wsrep_cluster_address = "gcomm://galera_04,galera_05,galera_06";
  
negative.code:     galera_05.succeed("systemctl start mysql")
      galera_05.wait_for_open_port(3306)
      galera_05.succeed(
          "sudo -u testuser mysql -u testuser -e 'show status' -N | grep 'wsrep_cluster_size.*3'"
      )
      galera_06.succeed(
          "sudo -u testuser mysql -u testuser -e 'show status' -N | grep 'wsrep_local_state_comment.*Synced'"
      )
      galera_04.succeed(
          "sudo -u testuser mysql -u testuser -e 'use testdb; select test_id from db3;' -N | grep 43"
      )
      galera_05.succeed(
          "sudo -u testuser mysql -u testuser -e 'use testdb; select test_id from db2;' -N | grep 42"
      )
      galera_06.succeed(
          "sudo -u testuser mysql -u testuser -e 'use testdb; select test_id from db1;' -N | grep 41"
      )
      galera_04.succeed("sudo -u testuser mysql -u testuser -e 'use testdb; drop table db3;'")
      galera_05.succeed("sudo -u testuser mysql -u testuser -e 'use testdb; drop table db2;'")
      galera_06.succeed("sudo -u testuser mysql -u testuser -e 'use testdb; drop table db1;'")
    '';
  })
  