[Gluster-devel] Spurious failire ./tests/bugs/bug-1049834.t [16]
Pranith Kumar Karampuri
pkarampu at redhat.com
Wed May 28 01:13:52 UTC 2014
CC gluster-devel
Pranith
----- Original Message -----
> From: "Pranith Kumar Karampuri" <pkarampu at redhat.com>
> To: "Avra Sengupta" <asengupt at redhat.com>
> Sent: Wednesday, May 28, 2014 6:42:53 AM
> Subject: Spurious failire ./tests/bugs/bug-1049834.t [16]
>
> hi Avra,
> Could you look into it.
>
> Patch ==> http://review.gluster.com/7889/1
> Author ==> Avra Sengupta asengupt at redhat.com
> Build triggered by ==> amarts
> Build-url ==>
> http://build.gluster.org/job/regression/4586/consoleFull
> Download-log-at ==>
> http://build.gluster.org:443/logs/regression/glusterfs-logs-20140527:14:51:09.tgz
> Test written by ==> Author: Avra Sengupta <asengupt at redhat.com>
>
> ./tests/bugs/bug-1049834.t [16]
> #!/bin/bash
>
> . $(dirname $0)/../include.rc
> . $(dirname $0)/../cluster.rc
> . $(dirname $0)/../volume.rc
> . $(dirname $0)/../snapshot.rc
>
> cleanup;
> 1 TEST verify_lvm_version
> 2 TEST launch_cluster 2
> 3 TEST setup_lvm 2
>
> 4 TEST $CLI_1 peer probe $H2
> 5 EXPECT_WITHIN $PROBE_TIMEOUT 1 peer_count
>
> 6 TEST $CLI_1 volume create $V0 $H1:$L1 $H2:$L2
> 7 EXPECT 'Created' volinfo_field $V0 'Status'
>
> 8 TEST $CLI_1 volume start $V0
> 9 EXPECT 'Started' volinfo_field $V0 'Status'
>
> #Setting the snap-max-hard-limit to 4
> 10 TEST $CLI_1 snapshot config $V0 snap-max-hard-limit 4
> PID_1=$!
> wait $PID_1
>
> #Creating 3 snapshots on the volume (which is the soft-limit)
> 11 TEST create_n_snapshots $V0 3 $V0_snap
> 12 TEST snapshot_n_exists $V0 3 $V0_snap
>
> #Creating the 4th snapshot on the volume and expecting it to be created
> # but with the deletion of the oldest snapshot i.e 1st snapshot
> 13 TEST $CLI_1 snapshot create ${V0}_snap4 ${V0}
> 14 TEST snapshot_exists 1 ${V0}_snap4
> 15 TEST ! snapshot_exists 1 ${V0}_snap1
> ***16 TEST $CLI_1 snapshot delete ${V0}_snap4
> 17 TEST $CLI_1 snapshot create ${V0}_snap1 ${V0}
> 18 TEST snapshot_exists 1 ${V0}_snap1
>
> #Deleting the 4 snaps
> #TEST delete_n_snapshots $V0 4 $V0_snap
> #TEST ! snapshot_n_exists $V0 4 $V0_snap
>
> cleanup;
>
> Pranith
More information about the Gluster-devel
mailing list