fix: fix multiapp tasks (#229)
Co-authored-by: adlsdztony <zzl0712@connect.hku.hk>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "26660ad1-6ebb-4f59-8cba-a8432dfe8d38",
|
||||
"snapshot": "multiapps",
|
||||
"instruction": "I want to test the quality of the network environment my laptop is currently in. Please measure my network situation through speedtest.net, export the measurement results, and save them to ~/Test/Speed (if the dir does not exist, create it).",
|
||||
"instruction": "I want to test the quality of the network environment my laptop is currently in. Please measure my network situation through speedtest.net, copy the results in speedtest.net/results, and save them to ~/Test/Speed/results.txt (if the dir does not exist, create it). Each metric occupies one line, with the metric name and its value separated by a single space.",
|
||||
"source": "https://www.speedtest.net/",
|
||||
"config": [
|
||||
{
|
||||
@@ -54,16 +54,21 @@
|
||||
"browser"
|
||||
],
|
||||
"evaluator": {
|
||||
"func": "compare_time_in_speedtest_results",
|
||||
"func": "file_contains",
|
||||
"result": {
|
||||
"type": "vm_file",
|
||||
"path": "/home/user/Test/Speed/Speedtest Results Export-.csv",
|
||||
"dest": "Speedtest Results Export-.csv",
|
||||
"time_suffix": true
|
||||
"path": "/home/user/Test/Speed/results.txt",
|
||||
"dest": "results.txt"
|
||||
},
|
||||
"expected": {
|
||||
"type": "time_diff_range",
|
||||
"diff_range_in_minutes": "60"
|
||||
"type": "rule",
|
||||
"rules": {
|
||||
"expected": [
|
||||
"Ping",
|
||||
"Download",
|
||||
"Upload"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"proxy": true
|
||||
|
||||
Reference in New Issue
Block a user