summaryrefslogtreecommitdiffstats
path: root/test/src/test-ecmascript-v8.cpp
diff options
context:
space:
mode:
authorStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2012-09-16 23:20:57 (GMT)
committerStefan Radomski <radomski@tk.informatik.tu-darmstadt.de>2012-09-16 23:20:57 (GMT)
commit64cc2ce105cf57fcba637b309664b4bc74ae7d82 (patch)
tree118786a131b9a7b947c0f6b7a319e5031d396b6c /test/src/test-ecmascript-v8.cpp
parent959224050cbceb024588bf0b49c57c503c299beb (diff)
downloaduscxml-64cc2ce105cf57fcba637b309664b4bc74ae7d82.zip
uscxml-64cc2ce105cf57fcba637b309664b4bc74ae7d82.tar.gz
uscxml-64cc2ce105cf57fcba637b309664b4bc74ae7d82.tar.bz2
Fixed all tests
Diffstat (limited to 'test/src/test-ecmascript-v8.cpp')
-rw-r--r--test/src/test-ecmascript-v8.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/src/test-ecmascript-v8.cpp b/test/src/test-ecmascript-v8.cpp
index d11fc61..9e7635b 100644
--- a/test/src/test-ecmascript-v8.cpp
+++ b/test/src/test-ecmascript-v8.cpp
@@ -18,8 +18,7 @@ int main(int argc, char** argv) {
Event event1;
event1.name = "event1";
scxml->receive(event1);
- scxml->waitForStabilization();
- while(true)
- tthread::this_thread::sleep_for(tthread::chrono::milliseconds(200));
+ scxml->join();
+ tthread::this_thread::sleep_for(tthread::chrono::milliseconds(500));
} \ No newline at end of file