Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
59 changes: 15 additions & 44 deletions bin/launchprocess.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,51 +6,22 @@
#2:process had already been running

#all defaults have been assigned in the q wrspper script: cloudutils.q
#for each cmd line argument, extract the argument and assign to relevant variable
cnt=0
extra_flag_cnt=0
IFS='-'
read -ra arg_arr <<< "$@"
for arg in "${arg_arr[@]}"
do
if [ "$cnt" -gt 0 ]; then
IFS=' '
read -ra sub_arg_arr <<< "$arg"
case ${sub_arg_arr[0]} in
procname )
procname=${sub_arg_arr[1]}
;;
proctype )
proctype=${sub_arg_arr[1]}
;;
U )
U_arg=${sub_arg_arr[1]}
;;
localtime )
localtime_arg=${sub_arg_arr[1]}
;;
qcmd )
qcmd_arg=${sub_arg_arr[1]}
;;
p )
p_arg=${sub_arg_arr[1]}
;;
* )
extra_flag_cnt=$(($extra_flag_cnt + 1))
;;
#for each cmd line argument (-name followed by its value, which can be several words), assign it to the relevant variable
#and keep any other flag, with its value, for the start line
#(this used to split the whole line on '-', so a value with a '-' in it, such as a path, broke every argument after it)
extra_arg_arr=""
while [ $# -gt 0 ]; do
key=${1#-}; shift; val=""
while [ $# -gt 0 ] && [ "${1:0:1}" != "-" ]; do val="${val:+$val }$1"; shift; done
case $key in
procname ) procname=$val ;;
proctype ) proctype=$val ;;
U ) U_arg=$val ;;
localtime ) localtime_arg=$val ;;
qcmd ) qcmd_arg=$val ;;
p ) p_arg=$val ;;
* ) extra_arg_arr+=" -$key${val:+ $val}" ;;
esac
fi
cnt=$((cnt+1))
done

#to deal with any number of extra flags and args, take the last (extra_flag_cnt) arguments from the arg_arr
extra_arg_arr=" "
i=0
a=$((extra_flag_cnt * -1))
while [ $i -lt "$extra_flag_cnt" ]
do
extra_arg_arr+="-"${arg_arr[$(( $a+i ))]}
i=$(($i + 1))
done

#define the startline
Expand Down
2 changes: 1 addition & 1 deletion code/common/html.q
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ add:{$[(count w x)>i:w[x;;0]?.z.w;.[`.u.w;(x;i;1);union;y];w[x],:enlist(.z.w;y)]

sub:{if[x~`;:sub[;y]each t];if[not x in t;'x];del[x].z.w;add[x;y]}
// add wssub method - have to subscribe to everything, don't return anything
wssub:{sub[x;`];}
wssub:{if[x~`;.z.s each t;:(::)];if[not x in t;'x];del[x].z.w;w[x],:enlist(.z.w;`);}

end:{(neg union/[w[;;0]])@\:(`.u.end;x)}

Expand Down
2 changes: 1 addition & 1 deletion code/common/os.q
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ hdeldir:{[dirpath;pdir]
if[not pdir;filelist:1_filelist];
.lg.o[`deldir;"deleting from directory : ",dirpath];
hdel each desc filelist}
md:{if[not Fex x;system"mkdir \"",pth[x],"\""]};
md:{if[not Fex x;system("mkdir -p \"";"mkdir \"")[NT],pth[x],"\""]};
cpy:{system("cp ";"copy ")[NT],pth[x]," ",pth y}
Vex:not 0h~type key`.@
df:{(`$("/";"\\")[NT]sv -1_v;`$-1#v:("/";"\\")[NT]vs pth(string x;x)[10h=type x])}
Expand Down
2 changes: 1 addition & 1 deletion code/handlers/trackservers.q
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ getdetails:{(.z.f;.z.h;system"p";@[value;`.proc.procname;`];@[value;`.proc.proct
/ add session behind a handle
addhw:{[hpuP;W]
// Get the information around a process
info:`f`h`port`procname`proctype`attributes!(@[W;({$[`getdetails in key`.servers;.servers.getdetails[];(.z.f;.z.h;system"p";`;`;$[`getattributes in key`.proc;.proc.getattributes[];()!()])]};`);(`;`;0Ni;`;`;()!())]);
info:`f`h`port`procname`proctype`attributes!(@[W;({$[`getdetails in key`.servers;.servers.getdetails[];(.z.f;.z.h;system"p";@[value;`.proc.procname;`];@[value;`.proc.proctype;`];$[`getattributes in key`.proc;.proc.getattributes[];()!()])]};`);(`;`;0Ni;`;`;()!())]);
if[0Ni~info`port;'"remote call failed on handle ",string W];
if[null name:info`procname;name:`$last("/"vs string info`f)except enlist""];
if[0=count name;name:`default];
Expand Down
4 changes: 4 additions & 0 deletions tests/bglaunchprocess/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
#path to test directory
testpath=${KDBTESTS}/bglaunchprocess/

#remove any port files left by an earlier run (written when discovery is off: see settings.q)
rm -f ${KDBLOG}/bglaunchprocess_*.port

#start procs
${TORQHOME}/torq.sh start all -csv ${testpath}/process.csv

Expand All @@ -15,3 +18,4 @@ ${TORQHOME}/torq.sh start all -csv ${testpath}/process.csv

#Shut down procs
${TORQHOME}/torq.sh stop all -csv ${testpath}/process.csv
rm -f ${KDBLOG}/bglaunchprocess_*.port
15 changes: 15 additions & 0 deletions tests/bglaunchprocess/settings.q
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,18 @@ input1:`procname`proctype`U`localtime`p`T`g`w`qcmd`custom`load!("test2";"test";"
input2:`procname`proctype`load!("test3";"test";"${TORQHOME}/tests/bglaunchprocess/settings.q");
.servers.startup[];

/the messages .sys.bglaunch and .sys.bgkill log, kept through TorQ's logging hook (.lg.ext) for the suite to check
bglogged:();
.lg.ext:{[loglevel;proctype;proc;id;message;dict] if[id in `launchprocess`killprocess; bglogged,::enlist message]};

/the process launched with input2 listens on a port of its own choosing (-p 0W), and the suite finds it in discovery.
/Under a connection limit, such as KDB-X's free licence, TorQ turns discovery off and takes connection details from a
/file instead (DISCOVERYCONNECT in config/settings/default.q). Then each process of the suite writes its port to a file
/in KDBLOG when it starts, and the suite finds the process there. run.sh removes the files
portfile:{hsym`$getenv[`KDBLOG],"/bglaunchprocess_",string[x],".port"};
if[(not .servers.DISCOVERYCONNECT) and 0<system"p"; portfile[.proc.procname] 0: enlist string system"p"];

/the address of a process of the suite, from discovery or, with discovery off, from its port file; null until it is there
findproc:{[pname] $[.servers.DISCOVERYCONNECT;
@[{first exec hpup from .servers.querydiscovery[`test] where procname=x};pname;`];
$[()~key portfile pname;`;`$"::",first read0 portfile pname]]};
12 changes: 8 additions & 4 deletions tests/bglaunchprocess/test.csv
Original file line number Diff line number Diff line change
@@ -1,27 +1,31 @@
action,ms,bytes,lang,code,repeat,minver,comment
comment,0,,"Test 1 - Launch and then kill a process with all possible cmd line args"
run,0,0,q,.sys.bglaunch input1,,,"Start a new process with extra command line args"
true,0,0,q,"""Successful execution: Starting test2""~last bglogged",,,"Check that the launch is logged as successful"
run,0,0,q,.os.sleep 2,,,"Wait for process to start"
run,0,0,q,h:hopen `::7124:admin:admin,,,"Attempt to connect to the new process"
true,0,0,q,`test2=@[h;".proc.procname";`],,,"Check that connection has been made"
true,0,0,q,11011111010b~value input1 in' value key[input1]#.Q.opt (h)".z.X",,,"Check that the cmd line args are as expected"
run,0,0,q,pid1:h".z.i",,,"Find the PID of the launched process"
run,0,0,q,.sys.bgkill "test2",,,"Kill the process"
true,0,0,q,"""Successful execution: Terminating test2""~last bglogged",,,"Check that the kill is logged as successful"
run,0,0,q,.os.sleep 2,,,"Wait for process to be terminated"
true,0,0,q,@[h;".proc.procname";{1b}],,,"Check that the handle to the process is no longer open"
true,0,0,q,not pid1 in "I"$1 _ .proc.sys "ps -u $USER | awk '{print $1}'",,,"Check that the PID of the old process is no longer in use"
true,0,0,q,not pid1 in "I"$1 _ .proc.sys "ps -u $(id -u) | awk '{print $1}'",,,"Check that the PID of the old process is no longer in use"

comment,0,,"Test 2 - Launch and then kill a process with no extra cmd line args, to test defaulting"
run,0,0,q,.sys.bglaunch input2,,,"Start a new process with no extra command line args, hence relying on defaulting in cloudutils.q"
run,0,0,q,.os.sleep 2,,,"Wait for process to start"
run,0,0,q,proc_port:first exec hpup from .servers.querydiscovery`test where procname=`test3,,,"Find process port from discovery services "
true,0,0,q,"""Successful execution: Starting test3""~last bglogged",,,"Check that the launch is logged as successful"
run,0,0,q,"{t:.z.p+0D00:00:10; while[(null findproc`test3) and .z.p<t; system""sleep 0.5""]}[]",,,"Wait until the process can be found (up to 10 seconds): in discovery, or in its port file when discovery is off"
run,0,0,q,proc_port:findproc`test3,,,"Find process port from discovery services (from its port file when discovery is off)"
run,0,0,q,"h2:hopen `$string[proc_port],"":admin:admin""",,,"Attempt to connect to the process"
true,0,0,q,`test3=@[h2;".proc.procname";`],,,"Check that connection has been made"
true,0,0,q,110b~(value input2)in' value key[input2]#.Q.opt h2".z.X",,,"Check that correct process name and type are present in the cmd line args of the process"
true,0,0,q,"all (getenv[`KDBAPPCONFIG],""/passwords/accesslist.txt"";string .proc.localtime;""0W"")in' value `U`localtime`p#.Q.opt h2"".z.X""",,,"Check that the expected default parameters for the U,localtime and p flags are present in the cmd line args"
run,0,0,q,pid2:h2".z.i",,,"Find the PID of the launched process"
run,0,0,q,.sys.bgkill "test3",,,"Kill the process"
true,0,0,q,"""Successful execution: Terminating test3""~last bglogged",,,"Check that the kill is logged as successful"
run,0,0,q,.os.sleep 2,,,"Wait for process to be terminated"
true,0,0,q,@[h2;".proc.procname";{1b}],,,"Check that the handle to the process is no longer open"
true,0,0,q,not pid2 in "I"$1 _ .proc.sys "ps -u $USER | awk '{print $1}'",,,"Check that the PID of the old process is no longer in use"
true,0,0,q,not pid2 in "I"$1 _ .proc.sys "ps -u $(id -u) | awk '{print $1}'",,,"Check that the PID of the old process is no longer in use"

9 changes: 9 additions & 0 deletions tests/monitor/monitor.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
action,ms,bytes,lang,code,repeat,minver,comment
before,0,0,q,.servers.startup[],1,,"Start TorQ connection management"
before,0,0,q,monHandle:gethandle[`monitor1],1,,"Open monitor handle"
true,0,0,q,@[{monHandle"start[]";1b};::;0b],1,,"start runs: .html.wssub subscribes lmchart, a function (it used to stop with 'type)"
run,0,0,q,"monHandle""start[]""",1,,"Call start again, as a refresh of the page does"
true,0,0,q,(1 1 1)~count each monHandle(`.html.w;monsubs),1,,"Calling start twice leaves one subscription each"
true,0,0,q,"all {(-6h=type x 0) and ` ~ x 1} each raze monHandle(`.html.w;monsubs)",1,,"Each subscription is the handle and ` (all syms), as the original wssub registers for a table"
true,0,0,q,"@[{monHandle(`.html.wssub;`);1b};::;0b]",1,,"wssub ` subscribes every value the monitor publishes (it used to stop with 'type)"
true,0,0,q,"0b~@[{monHandle(`.html.wssub;`nosuch);1b};::;0b]",1,,"wssub of a name the monitor does not publish is rejected, as before"
3 changes: 3 additions & 0 deletions tests/monitor/process.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
host,port,proctype,procname,U,localtime,g,T,w,load,startwithall,extras,qcmd
localhost,{KDBBASEPORT}+100,discovery,discovery1,${TORQHOME}/appconfig/passwords/accesslist.txt,1,0,,,${KDBCODE}/processes/discovery.q,1,,q
localhost,{KDBBASEPORT}+101,monitor,monitor1,${TORQHOME}/appconfig/passwords/accesslist.txt,1,0,,,${KDBCODE}/processes/monitor.q,1,,q
23 changes: 23 additions & 0 deletions tests/monitor/run.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash

# Handle command-line arguments
source $KDBTESTS/flagparse.sh

# Path to test directory
testpath=${KDBTESTS}/monitor

# Start procs
${TORQHOME}/torq.sh start discovery1 monitor1 -csv ${testpath}/process.csv

# Start test proc
/usr/bin/rlwrap q ${TORQHOME}/torq.q \
-proctype test -procname test1 \
-test ${testpath} \
-load ${KDBTESTS}/helperfunctions.q ${testpath}/settings.q \
-testresults ${KDBTESTS}/monitor/results/ \
-runtime $run \
-procfile ${testpath}/process.csv \
$debug $stop $write $quiet

# Shut down procs
${TORQHOME}/torq.sh stop discovery1 monitor1 -csv ${testpath}/process.csv
7 changes: 7 additions & 0 deletions tests/monitor/settings.q
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// IPC connection parameters
.servers.CONNECTIONS:`monitor;
.servers.USERPASS:`admin:admin;

// the monitor's web page calls start on every connection, which subscribes these with .html.wssub
// (heartbeat and logmsg are tables, lmchart is a function)
monsubs:`heartbeat`logmsg`lmchart;
8 changes: 4 additions & 4 deletions tests/stp/stripe/process.csv
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ host,port,proctype,procname,U,localtime,g,T,w,load,startwithall,extras,qcmd
localhost,{KDBBASEPORT}+100,discovery,discovery1,${TORQHOME}/appconfig/passwords/accesslist.txt,1,0,,,${KDBCODE}/processes/discovery.q,1,,q
localhost,{KDBBASEPORT}+101,segmentedtickerplant,stp1,${TORQHOME}/appconfig/passwords/accesslist.txt,1,0,,,${KDBCODE}/processes/segmentedtickerplant.q,1,-schemafile ${TORQHOME}/database.q -.ds.numseg 4,q
localhost,{KDBBASEPORT}+101,segmentedtickerplant,stpperf,${TORQHOME}/appconfig/passwords/accesslist.txt,1,0,,,${KDBCODE}/processes/segmentedtickerplant.q ${perfpath}/prep_test.q,0,-schemafile ${TORQHOME}/database.q,q
localhost,{KDBBASEPORT}+102,rdb,rdb1,${TORQHOME}/appconfig/passwords/accesslist.txt,1,1,180,,${KDBCODE}/processes/rdb.q,1,-.rdb.replaylog 0b -.rdb.subfiltered 1 -.ds.numseg 4,q
localhost,{KDBBASEPORT}+103,rdb,rdb2,${TORQHOME}/appconfig/passwords/accesslist.txt,1,1,180,,${KDBCODE}/processes/rdb.q,1,-.rdb.replaylog 0b -.rdb.subfiltered 1 -.ds.numseg 4,q
localhost,{KDBBASEPORT}+104,rdb,rdb3,${TORQHOME}/appconfig/passwords/accesslist.txt,1,1,180,,${KDBCODE}/processes/rdb.q,1,-.rdb.replaylog 0b -.rdb.subfiltered 1 -.ds.numseg 4,q
localhost,{KDBBASEPORT}+105,rdb,rdb4,${TORQHOME}/appconfig/passwords/accesslist.txt,1,1,180,,${KDBCODE}/processes/rdb.q,1,-.rdb.replaylog 0b -.rdb.subfiltered 1 -.ds.numseg 4,q
localhost,{KDBBASEPORT}+102,rdb,rdb1,${TORQHOME}/appconfig/passwords/accesslist.txt,1,1,180,,${KDBCODE}/processes/rdb.q,1,-.rdb.replaylog 0b -.rdb.subfiltered 1 -.rdb.subcsv :${KDBTESTS}/stp/stripe/rdbsub/rdbsub1.csv -.ds.numseg 4,q
localhost,{KDBBASEPORT}+103,rdb,rdb2,${TORQHOME}/appconfig/passwords/accesslist.txt,1,1,180,,${KDBCODE}/processes/rdb.q,1,-.rdb.replaylog 0b -.rdb.subfiltered 1 -.rdb.subcsv :${KDBTESTS}/stp/stripe/rdbsub/rdbsub2.csv -.ds.numseg 4,q
localhost,{KDBBASEPORT}+104,rdb,rdb3,${TORQHOME}/appconfig/passwords/accesslist.txt,1,1,180,,${KDBCODE}/processes/rdb.q,1,-.rdb.replaylog 0b -.rdb.subfiltered 1 -.rdb.subcsv :${KDBTESTS}/stp/stripe/rdbsub/rdbsub3.csv -.ds.numseg 4,q
localhost,{KDBBASEPORT}+105,rdb,rdb4,${TORQHOME}/appconfig/passwords/accesslist.txt,1,1,180,,${KDBCODE}/processes/rdb.q,1,-.rdb.replaylog 0b -.rdb.subfiltered 1 -.rdb.subcsv :${KDBTESTS}/stp/stripe/rdbsub/rdbsub4.csv -.ds.numseg 4,q
3 changes: 3 additions & 0 deletions tests/stp/stripe/rdbsub/rdbsub1.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tabname,filters,columns
trade,.ds.stripe[sym;0],
quote,.ds.stripe[sym;0],
3 changes: 3 additions & 0 deletions tests/stp/stripe/rdbsub/rdbsub2.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tabname,filters,columns
trade,.ds.stripe[sym;1],
quote,.ds.stripe[sym;1],
3 changes: 3 additions & 0 deletions tests/stp/stripe/rdbsub/rdbsub3.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tabname,filters,columns
trade,.ds.stripe[sym;2],
quote,.ds.stripe[sym;2],
3 changes: 3 additions & 0 deletions tests/stp/stripe/rdbsub/rdbsub4.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
tabname,filters,columns
trade,.ds.stripe[sym;3],
quote,.ds.stripe[sym;3],
3 changes: 0 additions & 3 deletions tests/stp/stripe/run.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
#!/bin/bash

cd $HOME/TorQ/deploy/TorQ/latest
source setenv.sh

# Handle command-line arguments
source $KDBTESTS/flagparse.sh

Expand Down
8 changes: 4 additions & 4 deletions tests/stp/stripe/stripe.csv
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ run,0,0,q,"startorstopproc[""stop"";"" ""sv string[(),rdbDown];getenv[`testpath]
run,0,0,q,"stpHandle @/: `.u.upd ,/: ((`trade;t row);(`quote;q row);(`heartbeat;`error))",1,,"Publish table updates while RDB(s) process is down"
run,0,0,q,system "sleep 1",1,,"Wait for update to publish"
run,0,0,q,"startorstopproc[""start"";"" ""sv string[(),rdbDown];getenv[`testpath],""/process.csv""]",1,,"Restart RDB(s) process"
run,0,0,q,rdbHandles:rdbNames!gethandle each rdbNames:exec procname from (.proc`readprocs).proc`file where proctype=`rdb,1,,"Reopen handle to RDBs"
run,0,0,q,"rdbHandles:rdbNames!{t:.z.p+0D00:00:30; while[(null h:gethandle x) and .z.p<t; system ""sleep 0.5""]; h} each rdbNames:exec procname from (.proc`readprocs).proc`file where proctype=`rdb",1,,"Reopen handles to the RDBs, waiting (up to 30 seconds each) for the restarted ones to start"
run,0,0,q,system "sleep 1",1,,"Wait for RDBs handles to open"
run,0,0,q,"{(rdbHandles rdbDown) @\: x}each""-11!`"",/:string exec logname from currlog where tbl in `trade`quote",1,,"Replay logfiles for the restarted RDB(s) process"
run,0,0,q,"{(rdbHandles rdbDown) @\: ({-11!x};x)}each exec logname from currlog where tbl in `trade`quote",1,,"Replay logfiles for the restarted RDB(s) process"
run,0,0,q,"(rdbHandles rdbDown) @\: "".rdb.applyfilters[;.rdb.subscribesyms]each .rdb.subtables""",1,,"Apply filters to the restarted RDB(s) process"
true,0,0,q,"((2*row)+sum[t1],sum q1)~sum(value rdbHandles) @\: ""count[trade],count quote""",1,,"Check trade and quote data were replayed and filtered correctly"
true,0,0,q,"all{correct:not any raze[where .ds.subreq in skey where not skey in uniqKey:x""-1+value .rdb.procnum""]in uniqSym:x""distinct(exec sym from trade),exec sym from quote"";notwrong:all uniqSym in where .ds.subreq=uniqKey;correct&notwrong}each value rdbHandles",1,,"Check updates were striped (correctly) AND (NOT striped WRONGLY) based on hash function"
true,0,0,q,"all{t1:(value rdbHandles)@\:""count trade"";q1:(value rdbHandles)@\:""count quote"";stpHandle@/:`.u.upd,/:((`trade;t x);(`quote;q x);(`heartbeat;`error));system""sleep 1""; cntChk:(x+sum[t1],sum q1)~sum(value rdbHandles)@\:""count[trade],count quote"";cntChk&all{correct:not any raze[where .ds.subreq in skey where not skey in uniqKey:x""-1+value .rdb.procnum""]in uniqSym:x""distinct(exec sym from trade),exec sym from quote"";notwrong:all uniqSym in where .ds.subreq=uniqKey;correct&notwrong}each value rdbHandles}'[{x*10}\[4;10]]",1,,"Iterate 10 100 1000 10000 100000 rows update - Check tables update count and data striped accurately"
true,0,0,q,"all{correct:not any raze[where .ds.subreq in skey where not skey in uniqKey:x""-1+value 3_string .proc.procname""]in uniqSym:x""distinct(exec sym from trade),exec sym from quote"";notwrong:all uniqSym in where .ds.subreq=uniqKey;correct&notwrong}each value rdbHandles",1,,"Check updates were striped (correctly) AND (NOT striped WRONGLY) based on hash function"
true,0,0,q,"all{t1:(value rdbHandles)@\:""count trade"";q1:(value rdbHandles)@\:""count quote"";stpHandle@/:`.u.upd,/:((`trade;t x);(`quote;q x);(`heartbeat;`error));cntChk:{[n] t:.z.p+0D00:00:30; while[(not c:n~sum(value rdbHandles)@\:""count[trade],count quote"") and .z.p<t; system""sleep 0.2""]; c}[x+sum[t1],sum q1];cntChk&all{correct:not any raze[where .ds.subreq in skey where not skey in uniqKey:x""-1+value 3_string .proc.procname""]in uniqSym:x""distinct(exec sym from trade),exec sym from quote"";notwrong:all uniqSym in where .ds.subreq=uniqKey;correct&notwrong}each value rdbHandles}'[{x*10}\[4;10]]",1,,"Iterate 10 100 1000 10000 100000 rows update - Check tables update count (waiting up to 30 seconds for each batch) and data striped accurately"
true,0,0,q,`error~.tst.err,1,,"Check errors were logged to disk"
true,0,0,q,stpHandle"enlist[(`.ds.stripe;`sym)]~exec distinct{-1_(raze/)x}each filts from .stpps.subrequestfiltered",1,,"Check hash function filts is applied correctly"
true,0,0,q,all{?[stpHandle".stpps.subrequestfiltered";enlist(=;x;(`filts;::;0;0;2));();(~;enlist`trade`quote;`tbl)]}'[til count rdbNames],1,,"Check filts is applied correctly to each respective rdb and subscribed to `trade`quote tables"
Expand Down