Commit Graph

262 Commits

Author SHA1 Message Date
Sebastian Serth
28d40605c8 Fix specs 2020-04-14 15:20:15 +02:00
Sebastian Serth
520a62125e Add some naive exception handling 2020-04-14 14:23:35 +02:00
Sebastian Serth
48d06b6dbe Persist metrics for container usage (execution time and waiting time) to Testrun table 2020-03-26 16:28:56 +01:00
Sebastian Serth
380b2ce6c7 Enhance kill for container 2020-03-25 11:47:59 +01:00
Sebastian Serth
b0761dbdb5 Extract pool handling to separate service 2020-03-25 11:30:11 +01:00
Sebastian Serth
de06a83f4c Add a few comments 2020-03-24 18:06:21 +01:00
Sebastian Serth
d9d77fbd97 Various important bug fixes and self destroy for containers 2020-03-23 13:38:50 +01:00
Sebastian Serth
172264e5b9 Disable semaphore 2020-03-22 17:40:52 +01:00
Sebastian Serth
ccb5998b72 Remove semaphore where no longer required and re-enable 2020-03-22 16:56:07 +01:00
Sebastian Serth
7b10da8eb4 Use thread safe methods to add and remove elements from Concurrent::Array 2020-03-22 16:47:46 +01:00
Sebastian Serth
4e9df310c2 Disable semaphore. 2020-03-22 16:07:15 +01:00
Sebastian Serth
2d52338008 Ensure not to have a semaphore larger than 1 2020-03-22 15:45:09 +01:00
Sebastian Serth
1cdc1b0647 Replacing a killed container only if required 2020-03-22 15:35:27 +01:00
Sebastian Serth
0338564bf2 Always close database connection when exiting thread 2020-03-22 15:18:27 +01:00
Sebastian Serth
b4c0a14a35 Fix code style to reduce errors in RubyMine 2020-03-22 15:09:40 +01:00
Sebastian Serth
30fab618a7 Kill container in new thread 2020-03-22 15:09:04 +01:00
Sebastian Serth
6843f3532c Re-enable semaphore. 2020-03-22 14:42:50 +01:00
Sebastian Serth
f4255f7bf0 Disable semaphore. 2020-03-22 14:05:35 +01:00
Sebastian Serth
7137346c03 Reduce waiting time for semaphore 2020-03-22 13:54:23 +01:00
Sebastian Serth
ff879d85a1 Restructure kill_container method to release semaphore more quickly 2020-03-22 13:22:22 +01:00
Sebastian Serth
123eacb144 More logging for semaphore handling 2020-03-22 13:21:59 +01:00
Sebastian Serth
3102d1529f Extract semaphore handling to own methods and add logging 2020-03-22 11:44:19 +01:00
Sebastian Serth
83ba0a3f4b Allow new line characters in test results 2020-03-22 11:07:50 +01:00
Sebastian Serth
1966a6e6a6 Add comment for usage of the new semaphore in the DockerClient 2020-03-22 10:42:04 +01:00
Sebastian Serth
d6e7c20f3f Ensure to release semaphore even if killing container 2020-03-22 10:41:19 +01:00
Sebastian Serth
2b3428b963 Add semaphore to method calls in DockerClient 2020-03-22 09:54:20 +01:00
Sebastian Serth
1c5bd91fec Fix usage of semaphore for replace_broken_container 2020-03-22 00:39:58 +01:00
Sebastian Serth
5be843ca00 Fix abs 2020-03-21 23:55:35 +01:00
Sebastian Serth
54e1aa4f7e Add semaphore for replace_broken_container 2020-03-21 23:48:17 +01:00
Sebastian Serth
c3595419a4 Add semaphore for DockerContainerPool 2020-03-21 22:56:39 +01:00
Sebastian Serth
d394881447 Use other multiline operator for RegEx 2020-03-21 19:38:58 +01:00
Sebastian Serth
64e6d01b9b Allow multiline Assertion Errors for python 2020-03-21 18:36:48 +01:00
Sebastian Serth
b38b7bd435 Catch two more exceptions from production 2020-03-17 13:50:33 +01:00
Sebastian Serth
82e560cace Add link to WebSocket test if WebSocket connection failed 2020-03-07 11:53:44 +01:00
Sebastian Serth
7b953b845c Minimize flash message duration
This reverts commit 67e9fd60 partially
2020-02-03 11:37:38 +01:00
Sebastian Serth
67e9fd60c1 Extend flash message duration 2020-02-02 12:35:54 +01:00
Sebastian Serth
4f8fedf1bb Add R script adapter 2020-01-13 15:10:00 +01:00
MrSerth
2f36218aca Merge pull request #423 from openHPI/implement_codeharbor_interface
Implement codeharbor interface
2019-12-20 10:53:42 +01:00
Karol
2432678ea1 make rake task more verbose 2019-12-19 17:49:53 +01:00
Karol
9670246e75 rake task to export public exercises 2019-12-18 18:41:06 +01:00
Sebastian Serth
ba4ea54e4f Add comment about cause for randomly failing specs 2019-12-13 15:37:21 +01:00
Karol
a7f2d7da34 small refactoring 2019-09-05 17:41:02 +02:00
Karol
ecabd9d05c file import with binary file 2019-08-23 07:33:43 +02:00
Sebastian Serth
a0d8b30ef2 Implement support for some basic embed options for work sheets via LTI
This commit also fixes an issue with the flash messages being positioned too high and displayed for too long
2018-12-11 14:29:36 +01:00
Sebastian Serth
efacb5a6a9 Completely remove old hints connected to the execution environment 2018-11-28 01:21:13 +01:00
rteusner
3980b78d92 Merge pull request #232 from openHPI/fix_empty_docker_image_tag
Skip all docker images not tagged (otherwise, the method crashes)
2018-11-27 15:46:11 +01:00
Sebastian Serth
39a822f8bf Skip all docker images not tagged (otherwise, the method crashes) 2018-11-22 19:03:35 +01:00
Sebastian Serth
68c07f49cf Show flash messages based on turbolinks:load instead of real page load 2018-11-22 18:59:07 +01:00
rteusner
d7dcbdc799 Merge pull request #200 from openHPI/remove-ab-tests
Remove ab tests
2018-11-15 18:02:34 +01:00
Sebastian Serth
1bed13d941 Remove useless .keep files 2018-11-06 16:49:41 +01:00