[Buildbot-commits] [buildbot/buildbot] 004bfe: Monkey patch in synchronous test helpers.

GitHub noreply at github.com
Mon Apr 15 12:27:58 UTC 2013


  Branch: refs/heads/master
  Home:   https://github.com/buildbot/buildbot
  Commit: 004bfebd0a5c31f7066042176ee072fe9903d0ed
      https://github.com/buildbot/buildbot/commit/004bfebd0a5c31f7066042176ee072fe9903d0ed
  Author: Tom Prince <tom.prince at ualberta.net>
  Date:   2013-04-13 (Sat, 13 Apr 2013)

  Changed paths:
    M master/buildbot/monkeypatches/__init__.py
    A master/buildbot/monkeypatches/testcase_synctest.py

  Log Message:
  -----------
  Monkey patch in synchronous test helpers.

These methods make it easy to test code involving deferreds in a synchronous
and deterministic manner, rather than having to spin the reactor.


  Commit: 7e68b03aa8f57627e72e38101075163a98774b49
      https://github.com/buildbot/buildbot/commit/7e68b03aa8f57627e72e38101075163a98774b49
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-04-14 (Sun, 14 Apr 2013)

  Changed paths:
    M master/buildbot/monkeypatches/__init__.py
    A master/buildbot/monkeypatches/testcase_synctest.py

  Log Message:
  -----------
  Merge branch 'sync-test-helpers' of git://github.com/tomprince/buildbot


  Commit: f7dd314430c3d6b3b61336386b32bb9895a431d7
      https://github.com/buildbot/buildbot/commit/f7dd314430c3d6b3b61336386b32bb9895a431d7
  Author: Sleft <fte08eas at student.lu.se>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M master/docs/tutorial/tour.rst

  Log Message:
  -----------
  Fixed grep command for IRC in log

With grep IRC there is not output from cat on the log file but with grep -i irc there is, see e.g.
```
$ cat master/twistd.log | grep IRC
$ cat master/twistd.log | grep -i irc
2013-04-15 13:26:44+0200 [-] Starting factory <buildbot.status.words.IrcStatusFactory instance at 0x26ab638>
2013-04-15 13:26:58+0200 [IrcStatusBot,client] <buildbot.status.words.IrcStatusBot instance at 0x23ea4d0>: I have joined #buildbot-test
2013-04-15 13:27:29+0200 [-] Starting factory <buildbot.status.words.IrcStatusFactory instance at 0x26b8170>
2013-04-15 13:27:29+0200 [IrcStatusBot,client] not scheduling reconnection attempt
2013-04-15 13:27:29+0200 [IrcStatusBot,client] Stopping factory <buildbot.status.words.IrcStatusFactory instance at 0x26ab638>
2013-04-15 13:27:42+0200 [IrcStatusBot,client] <buildbot.status.words.IrcStatusBot instance at 0x25a10e0>: I have joined #buildbot-test
```
Thus, maybe the example line from the log should be changed too?

I use
Buildbot version: 0.8.6p1
Twisted version: 12.2.0


  Commit: e3d3e8e18da8f234a5779b4e93b891ea066756ce
      https://github.com/buildbot/buildbot/commit/e3d3e8e18da8f234a5779b4e93b891ea066756ce
  Author: Dustin J. Mitchell <dustin at mozilla.com>
  Date:   2013-04-15 (Mon, 15 Apr 2013)

  Changed paths:
    M master/docs/tutorial/tour.rst

  Log Message:
  -----------
  Merge branch 'master' of git://github.com/Sleft/buildbot


Compare: https://github.com/buildbot/buildbot/compare/eb51c2766d96...e3d3e8e18da8


More information about the Commits mailing list