Page Menu
Home
ClusterLabs Projects
Search
Configure Global Search
Log In
Files
F3152282
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
View Options
diff --git a/unit-tests/_defaults.txt b/unit-tests/_defaults.txt
index 80618d7..8de0618 100644
--- a/unit-tests/_defaults.txt
+++ b/unit-tests/_defaults.txt
@@ -1,52 +1,56 @@
# vim: ft=sh et :
# ticket defaults, mostly set via config file.
ticket:
name "ticket"
## these would matter if testing via GDB had high latencies
#expiry 60
#timeout 10
acquire_after 0
# defaults for all tests
state ST_INIT
next_cron 0
# time(0)+1
# local is site[0] per convention
- owner booth_conf->site+1
- expires time(0)+1
- last_ack_ballot 242
+ leader booth_conf->site+1
+ #owner booth_conf->site+1
+ #expires time(0)+1
+ term_expires time(0)+1
+ #last_ack_ballot 242
- proposer 0
- proposed_owner 0
- new_ballot 0
- proposal_acknowledges 0
- retry_number 0
+ leader 0
+ #proposer 0
+ #proposed_owner 0
+ #new_ballot 0
+ #proposal_acknowledges 0
+ #retry_number 0
# defaults for input message.
# sender is a peer, and it wants something.
message:
ticket.id "ticket"
# invalid by default
header.cmd -1
# invalid by default
header.result 1
# invalid by default
header.from -1
header.version BOOTHC_VERSION
header.magic BOOTHC_MAGIC
header.length sizeof(struct boothc_ticket_msg)
- ticket.owner -1
- ticket.ballot 0
- ticket.prev_ballot 0
- ticket.expiry 0
+ ticket.leader -1
+ ticket.term 0
+ ticket.term_valid_for 0
+ ticket.last_log_index 0
+ ticket.leader_commit -1
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Mon, Feb 24, 7:19 PM (5 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1464416
Default Alt Text
(1 KB)
Attached To
Mode
rB Booth
Attached
Detach File
Event Timeline
Log In to Comment