• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/test/

Lines Matching refs:checkpoint

16 	puts "\tTxn010.a: open the environment and a database, checkpoint."
23 # Insert some data and do a checkpoint.
31 error_check_good checkpoint [$env txn_checkpoint] 0
33 # Test that checkpoint calls are ignored in quiescent systems.
35 set chkpt [txn010_stat $env "Time of last checkpoint"]
38 error_check_good checkpoint [$env txn_checkpoint] 0
39 set test_chkpt [txn010_stat $env "Time of last checkpoint"]
40 error_check_good "quiescent: checkpoint time changed" \
44 # Add a single record, and test that checkpoint does something.
45 set chkpt [txn010_stat $env "Time of last checkpoint"]
51 error_check_good checkpoint [$env txn_checkpoint] 0
52 set test_chkpt [txn010_stat $env "Time of last checkpoint"]
53 error_check_good "quiescent: checkpoint time unchanged" \
56 # Test that -force causes a checkpoint.
57 puts "\tTxn010.c: test checkpoint -force"
58 set chkpt [txn010_stat $env "Time of last checkpoint"]
61 error_check_good checkpoint [$env txn_checkpoint -force] 0
62 set test_chkpt [txn010_stat $env "Time of last checkpoint"]
63 error_check_good "force: checkpoint time unchanged" \
68 # Test that -kbyte doesn't cause a checkpoint unless there's
70 puts "\tTxn010.d: test checkpoint -kbyte"
72 # Put in lots of data, and verify that -kbyte causes a checkpoint
80 set chkpt [txn010_stat $env "Time of last checkpoint"]
82 error_check_good checkpoint [$env txn_checkpoint -kbyte 2] 0
83 set test_chkpt [txn010_stat $env "Time of last checkpoint"]
84 error_check_good "kbytes: checkpoint time unchanged" \
88 # checkpoint
89 set chkpt [txn010_stat $env "Time of last checkpoint"]
96 error_check_good checkpoint [$env txn_checkpoint -kbyte 20] 0
97 set test_chkpt [txn010_stat $env "Time of last checkpoint"]
98 error_check_good "kbytes: checkpoint time changed" \
102 # Test that -min doesn't cause a checkpoint unless enough time has
104 puts "\tTxn010.e: test checkpoint -min"
108 set chkpt [txn010_stat $env "Time of last checkpoint"]
111 error_check_good checkpoint [$env txn_checkpoint -min 2] 0
112 set test_chkpt [txn010_stat $env "Time of last checkpoint"]
113 error_check_good "min: checkpoint time changed" \
117 # Wait long enough, and then check to see if -min causes a checkpoint.
118 set chkpt [txn010_stat $env "Time of last checkpoint"]
120 error_check_good checkpoint [$env txn_checkpoint -min 2] 0
121 set test_chkpt [txn010_stat $env "Time of last checkpoint"]
122 error_check_good "min: checkpoint time unchanged" \