source: trunk/FACT++/scripts/tests_n_examples/test_if_FEEDBACK_CALIBRATION_times_out.py

Last change on this file was 14887, checked in by neise, 12 years ago
I think I moved the tests and examples into its own folder, in order to keep the scripts folder tidy
File size: 534 bytes
Line 
1'use strict';
2
3// DN 09.12.2012
4
5// this script tests, if FEEDBACK will really time out
6// when started freshly, when one tries to get the CALIBRATION Service.
7
8// so this script will run fine, when FEEDBACK already had a CALIBRATION in the past
9// and it will throw an exception after the long time of 50sec, when
10// FEEDBACK had never ever had a CALIBRATION (e.g. becauce it was started just a minute ago)
11var service_calibration = new Subscription("FEEDBACK/CALIBRATION");
12var data_calibration = service_calibration.get(50000);
13
Note: See TracBrowser for help on using the repository browser.