git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49108f1
)
JAL-1756 fix failed test as a result of runing the BioJS updater from a new thread
author
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Thu, 4 Jun 2015 10:12:03 +0000
(11:12 +0100)
committer
tcofoegbu
<tcnofoegbu@dundee.ac.uk>
Thu, 4 Jun 2015 10:12:03 +0000
(11:12 +0100)
test/jalview/io/BioJsHTMLOutputTest.java
patch
|
blob
|
history
diff --git
a/test/jalview/io/BioJsHTMLOutputTest.java
b/test/jalview/io/BioJsHTMLOutputTest.java
index
3e94aa9
..
134d84f
100644
(file)
--- a/
test/jalview/io/BioJsHTMLOutputTest.java
+++ b/
test/jalview/io/BioJsHTMLOutputTest.java
@@
-26,6
+26,15
@@
public class BioJsHTMLOutputTest
try
{
bioJsHtmlOutput.updateBioJS();
+ try
+ {
+ // allow the update some three seconds to complete before getting latest
+ // version of BioJS template
+ Thread.sleep(1000 * 3);
+ } catch (InterruptedException e)
+ {
+ e.printStackTrace();
+ }
bjsTemplate = BioJsHTMLOutput.getBioJsTemplateAsString();
// System.out.println(bjsTemplate);
} catch (IOException e)