BIBO tests
|
09-27-2020, 12:15 PM
Post: #11
|
|||
|
|||
RE: BIBO tests
(09-26-2020 10:04 PM)zhihao Wrote: design test_insert.sh: dont use print. Use flog. You can set flog_also_stderr=True to make the message go to stderr when you run it interactively. Quote: return 0 OK but dont use -1 |
|||
09-27-2020, 12:16 PM
Post: #12
|
|||
|
|||
RE: BIBO tests
(09-26-2020 10:14 PM)zhihao Wrote: design test_inquire.sh: OK but pls parameterize the newcase file and the service point (trajan). |
|||
09-27-2020, 12:20 PM
Post: #13
|
|||
|
|||
RE: BIBO tests
(09-27-2020 11:46 AM)zhihao Wrote: add test_pressure.sh design info: parameterize 10. e.g., define a var bibo_test_iter_cnt with a default value 1. Quote: run test_delete.sh Better combine small tests, such as test-delete and test-insert. You can make this a combined test test-id (insert delete). For correctness test, bibo_test_iter_cnt=1. For perf and pressure tests, we can set bibo_test_iter_cnt=10, 100, 1000, ... |
|||
10-07-2020, 09:44 PM
Post: #14
|
|||
|
|||
RE: BIBO tests
(09-27-2020 12:00 PM)lingu Wrote:OK, I'll delete if-else statement(09-26-2020 09:38 PM)zhihao Wrote: design test_select.sh: (09-27-2020 12:00 PM)lingu Wrote:I define a var "server_addr" for trajan like server_addr=trajan.d-thinker.org:20050 for these test scriptsQuote:if ($insert_ret != 0) yes, I'll make a simple select test as follows: test_select.sh Code: server_addr=trajan.d-thinker.org:20050 (09-27-2020 12:00 PM)lingu Wrote:OK, I'll delete if-else statementQuote:if ($ret == 200) { (09-27-2020 12:00 PM)lingu Wrote:OK, exit status will change to 99 and I will correct and rename this combined test script and create a new test_select.shQuote:ret = send select request sel_zengxingliang.json to trajan.d-thinker.org 20050 test_isds.sh: Code: server_addr=trajan.d-thinker.org:20050 |
|||
10-07-2020, 11:01 PM
Post: #15
|
|||
|
|||
RE: BIBO tests
(09-27-2020 12:14 PM)lingu Wrote:removed(09-26-2020 09:57 PM)zhihao Wrote: design test_delete.sh: (09-27-2020 12:14 PM)lingu Wrote:added exit code as follows:Quote:ret = send delete request del_zengxingliang.json to trajan.d-thinker.org 20050 test_delete.sh: Code: server_addr=trajan.d-thinker.org:20050 (09-27-2020 12:14 PM)lingu Wrote:OK, add test_isdsd.sh as follows:Quote:ret = send delete request del_zengxingliang.json to trajan.d-thinker.org 20050 Code: erver_addr=trajan.d-thinker.org:20050 |
|||
10-07-2020, 11:21 PM
Post: #16
|
|||
|
|||
RE: BIBO tests
(09-27-2020 12:15 PM)lingu Wrote:OK, added flog and exit code(09-26-2020 10:04 PM)zhihao Wrote: design test_insert.sh: Code: server_addr=trajan.d-thinker.org:20050 (09-27-2020 12:15 PM)lingu Wrote:OK, updatedQuote: return 0 |
|||
10-07-2020, 11:29 PM
Post: #17
|
|||
|
|||
RE: BIBO tests
(09-27-2020 12:16 PM)lingu Wrote:(09-26-2020 10:14 PM)zhihao Wrote: design test_inquire.sh: updated as follows, and parameterized other test scripts too. test_inquire.sh: Code: casefile=chendengchang-with-blank-line.json |
|||
10-07-2020, 11:38 PM
Post: #18
|
|||
|
|||
RE: BIBO tests
(09-27-2020 12:20 PM)lingu Wrote:(09-27-2020 11:46 AM)zhihao Wrote: add test_pressure.sh design info: OK, add parameter bibo_test_iter_cnt test_pressure.sh: Code: bibo_test_iter_cnt=1 |
|||
10-09-2020, 12:16 PM
Post: #19
|
|||
|
|||
RE: BIBO tests
I think we already implemented some scripts, and we just need organize them. I am adding the tests to cod://bibo
|
|||
10-09-2020, 05:09 PM
Post: #20
|
|||
|
|||
RE: BIBO tests
(09-26-2020 01:49 PM)lingu Wrote: test_inquire.sh: server_addr'd better be an IP address. Let's rename it bibo_server_addr. Let's use a default addr localhost. For the port, we can define another var bibo_server_port and it has a default value 62818. In this way, we can test bibo in an intranet system. |
|||
« Next Oldest | Next Newest »
|
- View a Printable Version
- Send this Thread to a Friend
- Subscribe to this thread
- Show the subscribers of this thread:
- Add subscribers to this thread: