~ampelbein/ubuntu/oneiric/heartbeat/lp-770743

« back to all changes in this revision

Viewing changes to lrm/test/testcases/serialize.exp

  • Committer: Bazaar Package Importer
  • Author(s): Ante Karamatic
  • Date: 2010-02-17 21:59:18 UTC
  • mfrom: (1.1.11 upstream)
  • Revision ID: james.westby@ubuntu.com-20100217215918-06paxph5do4saw8v
Tags: 3.0.2-0ubuntu1
* New upstream release
* Drop hard dep on pacemaker for heartbet; moved to Recommends
* debian/heartbeat.install:
  - follow upstream changes
* debian/control:
  - added docbook-xsl and xsltproc to build depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.TRY List resources
2
 
Currently no resources are managed by LRM.
3
 
.SETENV dflt_timeout=2500
4
 
.TRY Add resource r1 class=ocf type=lrmregtest provider=heartbeat args=delay=2
5
 
Succeeded in adding this resource.
6
 
.BG 2
7
 
.BG test line 10/job 1 runs in background
8
 
.SLEEP 1
9
 
.BG test line 15/job 2 runs in background
10
 
.SLEEP 1
11
 
.BGREPEAT 4
12
 
.BG test line 18/job 1 runs in background
13
 
.BG test line 18/job 2 runs in background
14
 
.BG test line 18/job 3 runs in background
15
 
.BG test line 18/job 4 runs in background
16
 
.SLEEP 11
17
 
.TRY Show state r1
18
 
resource state:LRM_RSC_IDLE
19
 
The resource 2 operations' information:
20
 
   operation 'start' [call_id=(removed)]:
21
 
      start_delay=0, interval=0, timeout=3000, app_name=lrmadmin
22
 
      rc=0 (ok), op_status=0 (succeed)
23
 
      parameters: delay=2  
24
 
   operation 'monitor' [call_id=(removed)]:
25
 
      start_delay=0, interval=0, timeout=11000, app_name=lrmadmin
26
 
      rc=0 (ok), op_status=0 (succeed)
27
 
      parameters: delay=2  
28
 
.TRY Exec r1 op=stop timeout=2500 interval=0 target=EVERYTIME args=
29
 
> stop succeed (status=0,rc=0): [null]
30
 
 
31
 
.TRY Show state r1
32
 
resource state:LRM_RSC_IDLE
33
 
The resource 3 operations' information:
34
 
   operation 'start' [call_id=(removed)]:
35
 
      start_delay=0, interval=0, timeout=3000, app_name=lrmadmin
36
 
      rc=0 (ok), op_status=0 (succeed)
37
 
      parameters: delay=2  
38
 
   operation 'monitor' [call_id=(removed)]:
39
 
      start_delay=0, interval=0, timeout=11000, app_name=lrmadmin
40
 
      rc=0 (ok), op_status=0 (succeed)
41
 
      parameters: delay=2  
42
 
   operation 'stop' [call_id=(removed)]:
43
 
      start_delay=0, interval=0, timeout=2500, app_name=lrmadmin
44
 
      rc=0 (ok), op_status=0 (succeed)
45
 
      parameters: delay=2  
46
 
.TRY Delete resource r1
47
 
Succeeded in deleting this resource.
48
 
.SETENV dflt_rsc=r2 dflt_timeout=10500
49
 
.TRY Add resource r2 class=ocf type=lrmregtest provider=heartbeat args=ignore_TERM=1 delay=9
50
 
Succeeded in adding this resource.
51
 
.TRY Exec r2 op=start timeout=10500 interval=0 target=EVERYTIME args=
52
 
> start succeed (status=0,rc=0): [null]
53
 
 
54
 
.BG 
55
 
.BG test line 31/job 1 runs in background
56
 
.TRY Exec r2 op=monitor timeout=10500 interval=0 target=EVERYTIME args=
57
 
ERROR: This operation has timed out - no result from lrmd.
58
 
.TRY Delete resource r2
59
 
Succeeded in deleting this resource.
60
 
.BG test line 10/job 1 finished (exit code: 0):
61
 
==========test:10:1 start output==========
62
 
.TRY Exec r1 op=start timeout=2500 interval=0 target=EVERYTIME args=
63
 
> start succeed (status=0,rc=0): [null]
64
 
 
65
 
==========test:10:1   end output==========
66
 
.BG test line 15/job 2 finished (exit code: 0):
67
 
==========test:15:2 start output==========
68
 
.TRY Exec r1 op=start timeout=3000 interval=0 target=EVERYTIME args=
69
 
> start succeed (status=0,rc=0): [null]
70
 
 
71
 
==========test:15:2   end output==========
72
 
.BG test line 18/job 1 finished (exit code: 0):
73
 
==========test:18:1 start output==========
74
 
.TRY Exec r1 op=monitor timeout=11000 interval=0 target=EVERYTIME args=
75
 
> monitor succeed (status=0,rc=0): [null]
76
 
 
77
 
==========test:18:1   end output==========
78
 
.BG test line 18/job 2 finished (exit code: 0):
79
 
==========test:18:2 start output==========
80
 
.TRY Exec r1 op=monitor timeout=11000 interval=0 target=EVERYTIME args=
81
 
> monitor succeed (status=0,rc=0): [null]
82
 
 
83
 
==========test:18:2   end output==========
84
 
.BG test line 18/job 3 finished (exit code: 0):
85
 
==========test:18:3 start output==========
86
 
.TRY Exec r1 op=monitor timeout=11000 interval=0 target=EVERYTIME args=
87
 
> monitor succeed (status=0,rc=0): [null]
88
 
 
89
 
==========test:18:3   end output==========
90
 
.BG test line 18/job 4 finished (exit code: 0):
91
 
==========test:18:4 start output==========
92
 
.TRY Exec r1 op=monitor timeout=11000 interval=0 target=EVERYTIME args=
93
 
> monitor succeed (status=0,rc=0): [null]
94
 
 
95
 
==========test:18:4   end output==========
96
 
.BG test line 31/job 1 finished (exit code: 0):
97
 
==========test:31:1 start output==========
98
 
.TRY Exec r2 op=monitor timeout=500 interval=0 target=EVERYTIME args=
99
 
ERROR: This operation has timed out - no result from lrmd.
100
 
==========test:31:1   end output==========