From: Zdeněk Šustr Date: Fri, 1 Apr 2011 13:29:49 +0000 (+0000) Subject: Description of the new notif->msg test. X-Git-Tag: glite-lb-client_R_5_0_4_3~17 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=bb2f64246d814e989b9c6d1113802535883a3d12;p=jra1mw.git Description of the new notif->msg test. --- diff --git a/org.glite.lb.doc/src/LBTP-Tests.tex b/org.glite.lb.doc/src/LBTP-Tests.tex index 24d0dc2..ee234a1 100644 --- a/org.glite.lb.doc/src/LBTP-Tests.tex +++ b/org.glite.lb.doc/src/LBTP-Tests.tex @@ -69,6 +69,8 @@ Besides pure System Functionality Tests, this list also includes In-the-Wild tes \hline {\tt lb-test-threaded.sh} & Implemented & Rudimentary test for threaded clients \LB \\ \hline +{\tt lb-test-notif-msg.sh} & Implemented & Test delivery of \LB notifications over ActiveMQ \\ +\hline \end{tabularx} \subsubsection{Event logging examples} @@ -289,17 +291,17 @@ Please see also \cite{lbug}, Section 2.4, for other possible scenarios how to te \what \begin{enumerate} \item Register a job. -\item Start a~notification client (preferably on another machine), +\item Start a~notification client, register with \code{edg\_wll\_NotifNew} for any state changes of the job, -and repeatedly invoke \code{edg\_wll\_NotifReceive}. -\item One by one send events triggering job state change. +and invoke \code{edg\_wll\_NotifReceive}. +\item Send events triggering job state changes. \end{enumerate} \how\ \ctblb{lb-test-notif.sh} \note\ The test includes artificial delays. Takes approx. 12\,s to finish. -\result\ All the events should trigger notification reported by the running +\result\ All the events should trigger notifications reported by the running notification client. \begin{hints} @@ -307,22 +309,6 @@ notification client. \end{hints} - -%\subsubsection{Additional notification criteria} -%\label{notif-complex} -%\req\ All \LB\ services running -% -%\what\ Like~\ref{notif1} but include additional criteria, -%e.g. job is scheduled for a~specific destination. -% -%\how\ \ctblb{lb-test-notif-additional.sh} -% -%\result\ Only notifications matching the criteria should be delivered. -% -% rozsireni dotazu o dalsi job - - - \subsubsection{Include another job} \label{notif2} \req\ All \LB\ services running, notification from \ref{notif1} still active @@ -378,6 +364,29 @@ immediately. immediately. +\subsubsection{Delivery to ActiveMQ} +\label{notif1} +\req\ All \LB\ services running, ActiveMQ broker configured and running + +\what +\begin{enumerate} +\item Register a job. +\item Start a~notification client, +register with \code{edg\_wll\_NotifNew} for any state changes of the job, +and listen for messages. +\end{enumerate} + +\how\ \ctblb{lb-test-notif-msg.sh} + +\note\ The test includes artificial delays. Takes approx. 12\,s to finish. + +\result\ All the events should trigger notifications that will be reported +through ActiveMQ messages. + +\begin{hints} +\path{glite-lb-notify} example can be used with its commands \path{new} and \path{receive}. +\end{hints} + \subsection{Server purge}