diff options
author | Teemu Suo-Anttila <tsuoanttila@users.noreply.github.com> | 2017-02-01 17:17:15 +0200 |
---|---|---|
committer | Henri Sara <henri.sara@gmail.com> | 2017-02-01 17:17:15 +0200 |
commit | 53674a7cafc22e8e21f5a7d46df0f5c126fb76c6 (patch) | |
tree | 7bb8916c2b891808e78ca95f0ae150e9b03060cc /uitest/integration_base_files/lock_age.sh | |
parent | 8e20ab0f05603cb81a8bdbf456f63c9a49eb1d3b (diff) | |
download | vaadin-framework-53674a7cafc22e8e21f5a7d46df0f5c126fb76c6.tar.gz vaadin-framework-53674a7cafc22e8e21f5a7d46df0f5c126fb76c6.zip |
Refactor testing of the framework (#8393)
* Integration tests moved from uitest to separate test modules
* Run TB4 tests with maven profile
* Remove old ant/ivy build scripts from uitest
* Add 'needs-ssh' test category for reconnection test
* Add default values for testing and validation builds
* Add placeholder build.xml with instructions to run Maven
Diffstat (limited to 'uitest/integration_base_files/lock_age.sh')
-rw-r--r-- | uitest/integration_base_files/lock_age.sh | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/uitest/integration_base_files/lock_age.sh b/uitest/integration_base_files/lock_age.sh deleted file mode 100644 index 115a8fef79..0000000000 --- a/uitest/integration_base_files/lock_age.sh +++ /dev/null @@ -1,21 +0,0 @@ -#! /bin/bash -if lockfile -r0 -! /home/integration/deploy/lock.file &> /dev/null - then - # If we could not get the lock, check how old the lock file is - DATE=$(date +%s) - # What if the file is not there any more? - LOCK_AGE=$(stat -c %Z /home/integration/deploy/lock.file) - - AGE=$[($DATE - $LOCK_AGE)/60] - - if [ "$AGE" -gt "20" ] - then - echo lock.file is $AGE min old. - ./cleanup.sh -# else -# echo lock.file is $AGE min old. - fi - else - # If we got the lock, do a cleanup (releasing the lock) just in case something has still been left running - ./cleanup.sh &> /dev/null -fi |