BIBO tests
|
10-09-2020, 05:33 PM
Post: #21
|
|||
|
|||
RE: BIBO tests
(10-09-2020 05:09 PM)lingu Wrote:(09-26-2020 01:49 PM)lingu Wrote: test_inquire.sh: updated as follows: Code: bibo_server_addr="localhost" |
|||
10-11-2020, 08:49 PM
Post: #22
|
|||
|
|||
RE: BIBO tests
首文添加 test_inquire_shen.sh:
test_inquire_shen.sh: 用于测试处理20288个字符的查询请求时,是否会出现没有返回值的情况 |
|||
10-12-2020, 12:33 AM
(This post was last modified: 10-12-2020 12:47 AM by lingu.)
Post: #23
|
|||
|
|||
RE: BIBO tests
(10-11-2020 08:49 PM)zhihao Wrote: 首文添加 test_inquire_shen.sh: triage()用jq获得casetype,但似乎jq处理相关网络请求json报错。 Code: [sage@limbo30-1 typical]$ cp ../newcase/newcase.txt /thinker/net/udata/all/ 但处理该json原始文件不报错。 Code: [sage@limbo30-1 typical]$ jq '.type' /thinker/globe/soft/bibo/app/test/processed/query_shenmou.json 两个文件不同。 Code: [sage@limbo30-1 typical]$ ll /thinker/globe/soft/bibo/app/test/processed/query_shenmou.json 看2文件开头没有什么不同。 Code: [sage@limbo30-1 typical]$ od -c /thinker/net/udata/all/newcase.txt |head 把二者全部od出来,发现差异在有 A z " 的地方开始。 Code: 742 od -c /thinker/net/udata/all/newcase.txt > /tmp/newcase.od |
|||
10-12-2020, 04:27 AM
Post: #24
|
|||
|
|||
RE: BIBO tests
'make test' was successful even though some tests failed. This is a bug.
Code: ./test_inquire.sh Zhihao - pls fix this issue. |
|||
11-30-2020, 05:19 PM
Post: #25
|
|||
|
|||
RE: BIBO tests
(10-12-2020 04:27 AM)lingu Wrote: 'make test' was successful even though some tests failed. This is a bug. ? |
|||
11-30-2020, 05:22 PM
Post: #26
|
|||
|
|||
RE: BIBO tests
(09-26-2020 01:49 PM)lingu Wrote: test_select.sh: the pseudocode just selects a case, but the real code does insert and delete as well. I am commenting out the insert and delete logic. If we need insert and delete, we can simply run a combined test with tests insert, select and delete. |
|||
05-22-2021, 11:26 AM
Post: #27
|
|||
|
|||
RE: BIBO tests
(09-26-2020 01:49 PM)lingu Wrote: test_delete.sh: Actually it inserts and deletes. To make it more modular, I am splitting it into two programs, test_delete_zeng and test_indel_zeng. Also I am splitting them into separate threads. |
|||
05-22-2021, 01:50 PM
Post: #28
|
|||
|
|||
RE: BIBO tests
(11-30-2020 05:19 PM)lingu Wrote:I am fixing insert, inquire, select, delete tests.(10-12-2020 04:27 AM)lingu Wrote: 'make test' was successful even though some tests failed. This is a bug. |
|||
08-13-2021, 01:27 AM
Post: #29
|
|||
|
|||
RE: BIBO tests
to avoid delete real case in mistake, use test case to test operation, add to headpost:
--- test_insert_testcase.sh: insert test_case.json which has caseid:"aaaaa..." and casetitle: "计算机案例" test_delete_testcase.sh: request to delete case with caseid "aaaaa..." --- |
|||
« 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: