Monday, 2015-02-02

*** tpb has joined #timvideos00:00
*** LeeS has joined #timvideos02:25
*** Niharika has joined #timvideos03:49
*** Niharika has quit IRC04:10
*** Niharika has joined #timvideos04:12
*** LeeS has quit IRC04:35
*** Niharika has quit IRC05:13
*** Niharika has joined #timvideos05:35
*** Niharika has quit IRC05:39
*** Niharika has joined #timvideos07:24
*** Niharika has quit IRC07:29
*** Niharika|mobile has joined #timvideos07:40
*** slomo has joined #timvideos08:16
*** slomo has joined #timvideos08:16
*** f15h has joined #timvideos08:58
*** Niharika has joined #timvideos09:08
*** Niharika has quit IRC09:12
*** f15h has quit IRC09:43
*** f15h has joined #timvideos09:57
*** atharva has joined #timvideos09:59
atharvahi 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 atharz10:05
*** atharz has quit IRC10:05
*** miselin has quit IRC10:07
*** miselin has joined #timvideos10:11
*** atharz has joined #timvideos10:14
atharzhi i am new here and want to contribute. So please can any one help me how to proceed?10:14
*** f15h has quit IRC10:45
*** Niharika|mobile has quit IRC10:51
*** slomo has quit IRC10:56
apshi atharz . Have you looked at code.timvideos.us ?11:10
*** atharz has quit IRC11:55
*** atharz has joined #timvideos12:02
*** hyades_ has joined #timvideos12:20
*** atharz has quit IRC12:27
*** Niharika has joined #timvideos12:28
*** rohitksingh has joined #timvideos13:58
*** rohitksingh has quit IRC14:20
*** hyades_ has quit IRC15:37
*** f15h has joined #timvideos16:17
*** Niharika has quit IRC17:10
*** Niharika has joined #timvideos17:10
*** f15h has quit IRC17:40
*** Niharika has quit IRC18:21
*** f15h has joined #timvideos18:26
*** Niharika|mobile has joined #timvideos18:56
*** slomo has joined #timvideos19:18
*** f15h has quit IRC21:04
*** Niharika|mobile has quit IRC21:31
MaZderMindI'm currently looking into the integration-test rewrite21:59
MaZderMindone of the issues I think we might have is that the Server is granted exactly .5s to start up22:00
MaZderMindafter this the connections are started beeing tested which possibly fails because it did not start quick enough22:00
MaZderMindquestion is: how can the tests's Server-Class sense if the server is correctly up22:01
MaZderMindwithout relying on the things that should be tested (like video-ports accessable)22:01
MaZderMindOne 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 tested22:26
*** slomo has quit IRC22:27
MaZderMindit seems that is what pexpect is for22:31
MaZderMindbut i still would have to implement the backgrounding myself, as I only want to block until the condition is matched22:39
CarlFKMaZderMind: did you see mithro's comments on the python api having callbacks (I think...)22:44
CarlFKmy 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+fudge22:45
CarlFKif that passes, then you can rely on that for the other tests22:45
CarlFKassuming I understand your concerns22:45
MaZderMindI don't like being dependent on T because this is why the int-tests fail on travis but work locally most of the time22:51
MaZderMindif T is too high the tests take forever, if T is too low they may be unreliable22:51
MaZderMindmonitoring the server's output would eliminate T22:51
MaZderMindimplementing 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 callback22:53
MaZderMindI'll have to think about this option a little more22:54
* MaZderMind heading to bed now22:54
CarlFKdependent on T ?23:13
CarlFKah...23:13
CarlFKhmm... sleep well.  I'll ponder.23:13

Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!