*** tpb has joined #timvideos | 00:00 | |
*** LeeS has joined #timvideos | 02:25 | |
*** Niharika has joined #timvideos | 03:49 | |
*** Niharika has quit IRC | 04:10 | |
*** Niharika has joined #timvideos | 04:12 | |
*** LeeS has quit IRC | 04:35 | |
*** Niharika has quit IRC | 05:13 | |
*** Niharika has joined #timvideos | 05:35 | |
*** Niharika has quit IRC | 05:39 | |
*** Niharika has joined #timvideos | 07:24 | |
*** Niharika has quit IRC | 07:29 | |
*** Niharika|mobile has joined #timvideos | 07:40 | |
*** slomo has joined #timvideos | 08:16 | |
*** slomo has joined #timvideos | 08:16 | |
*** f15h has joined #timvideos | 08:58 | |
*** Niharika has joined #timvideos | 09:08 | |
*** Niharika has quit IRC | 09:12 | |
*** f15h has quit IRC | 09:43 | |
*** f15h has joined #timvideos | 09:57 | |
*** atharva has joined #timvideos | 09:59 | |
atharva | hi i am new here and want to contribute. So please can any one help me how to proceed? | 10:01 |
---|---|---|
*** atharva is now known as atharz | 10:05 | |
*** atharz has quit IRC | 10:05 | |
*** miselin has quit IRC | 10:07 | |
*** miselin has joined #timvideos | 10:11 | |
*** atharz has joined #timvideos | 10:14 | |
atharz | hi i am new here and want to contribute. So please can any one help me how to proceed? | 10:14 |
*** f15h has quit IRC | 10:45 | |
*** Niharika|mobile has quit IRC | 10:51 | |
*** slomo has quit IRC | 10:56 | |
aps | hi atharz . Have you looked at code.timvideos.us ? | 11:10 |
*** atharz has quit IRC | 11:55 | |
*** atharz has joined #timvideos | 12:02 | |
*** hyades_ has joined #timvideos | 12:20 | |
*** atharz has quit IRC | 12:27 | |
*** Niharika has joined #timvideos | 12:28 | |
*** rohitksingh has joined #timvideos | 13:58 | |
*** rohitksingh has quit IRC | 14:20 | |
*** hyades_ has quit IRC | 15:37 | |
*** f15h has joined #timvideos | 16:17 | |
*** Niharika has quit IRC | 17:10 | |
*** Niharika has joined #timvideos | 17:10 | |
*** f15h has quit IRC | 17:40 | |
*** Niharika has quit IRC | 18:21 | |
*** f15h has joined #timvideos | 18:26 | |
*** Niharika|mobile has joined #timvideos | 18:56 | |
*** slomo has joined #timvideos | 19:18 | |
*** f15h has quit IRC | 21:04 | |
*** Niharika|mobile has quit IRC | 21:31 | |
MaZderMind | I'm currently looking into the integration-test rewrite | 21:59 |
MaZderMind | one of the issues I think we might have is that the Server is granted exactly .5s to start up | 22:00 |
MaZderMind | after this the connections are started beeing tested which possibly fails because it did not start quick enough | 22:00 |
MaZderMind | question is: how can the tests's Server-Class sense if the server is correctly up | 22:01 |
MaZderMind | without relying on the things that should be tested (like video-ports accessable) | 22:01 |
MaZderMind | One way I could imagine goes as follows: calling Server.run creates a Lock and starts the actual server-process in a thread. The thread actively reads stdout/err and waits for a line-match against a given pattern. If it sees this, it releases the lock which let's the tests start. The Match could ie be 'encoding-output started' which would show that this part of the server is ready to be tested | 22:26 |
*** slomo has quit IRC | 22:27 | |
MaZderMind | it seems that is what pexpect is for | 22:31 |
MaZderMind | but i still would have to implement the backgrounding myself, as I only want to block until the condition is matched | 22:39 |
CarlFK | MaZderMind: did you see mithro's comments on the python api having callbacks (I think...) | 22:44 |
CarlFK | my guess is you will figure out T is how long is reasonable for the server to come up, and test that the callback has fired in T+fudge | 22:45 |
CarlFK | if that passes, then you can rely on that for the other tests | 22:45 |
CarlFK | assuming I understand your concerns | 22:45 |
MaZderMind | I don't like being dependent on T because this is why the int-tests fail on travis but work locally most of the time | 22:51 |
MaZderMind | if T is too high the tests take forever, if T is too low they may be unreliable | 22:51 |
MaZderMind | monitoring the server's output would eliminate T | 22:51 |
MaZderMind | implementing callbacks for the composite-out would be a way (they were there before and I removed them because they were not known) but if the server starts too fast, the test-client might connect *after* the callback | 22:53 |
MaZderMind | I'll have to think about this option a little more | 22:54 |
* MaZderMind heading to bed now | 22:54 | |
CarlFK | dependent on T ? | 23:13 |
CarlFK | ah... | 23:13 |
CarlFK | hmm... sleep well. I'll ponder. | 23:13 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!