Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf.git/shortlog/ad67eeff4bfe15c2aaf2c6b537a8327825687411
...commit 
http://git.netsurf-browser.org/netsurf.git/commit/ad67eeff4bfe15c2aaf2c6b537a8327825687411
...tree 
http://git.netsurf-browser.org/netsurf.git/tree/ad67eeff4bfe15c2aaf2c6b537a8327825687411

The branch, master has been updated
       via  ad67eeff4bfe15c2aaf2c6b537a8327825687411 (commit)
      from  6bbdf08cb09d6e893056af72b5e7b47ef9fe7d5a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf.git/commit/?id=ad67eeff4bfe15c2aaf2c6b537a8327825687411
commit ad67eeff4bfe15c2aaf2c6b537a8327825687411
Author: Daniel Silverstone <[email protected]>
Commit: Daniel Silverstone <[email protected]>

    monkeyfarmer: Be a little more verbose when exiting
    
    In an effort to try and determine why we sometimes get unexpected
    exits, print the line queue during the handling of process exit.
    
    Signed-off-by: Daniel Silverstone <[email protected]>

diff --git a/test/monkeyfarmer.py b/test/monkeyfarmer.py
index f6497fa..1f28d62 100644
--- a/test/monkeyfarmer.py
+++ b/test/monkeyfarmer.py
@@ -81,8 +81,11 @@ class MonkeyFarmer(asyncore.dispatcher):
                 if self.monkey.poll() is None:
                     self.monkey.terminate()
                     self.monkey.wait()
+                print("Handling an exit {}".format(self.monkey.returncode))
+                print("The following are present in the queue: 
{}".format(self.lines))
                 self.lines.insert(0, "GENERIC EXIT {}".format(
                     self.monkey.returncode).encode('utf-8'))
+                print("The queue is now: {}".format(self.lines))
                 return
         except socket.error as error:
             if error.errno == errno.EAGAIN or error.errno == errno.EWOULDBLOCK:


-----------------------------------------------------------------------

Summary of changes:
 test/monkeyfarmer.py |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/test/monkeyfarmer.py b/test/monkeyfarmer.py
index f6497fa..1f28d62 100644
--- a/test/monkeyfarmer.py
+++ b/test/monkeyfarmer.py
@@ -81,8 +81,11 @@ class MonkeyFarmer(asyncore.dispatcher):
                 if self.monkey.poll() is None:
                     self.monkey.terminate()
                     self.monkey.wait()
+                print("Handling an exit {}".format(self.monkey.returncode))
+                print("The following are present in the queue: 
{}".format(self.lines))
                 self.lines.insert(0, "GENERIC EXIT {}".format(
                     self.monkey.returncode).encode('utf-8'))
+                print("The queue is now: {}".format(self.lines))
                 return
         except socket.error as error:
             if error.errno == errno.EAGAIN or error.errno == errno.EWOULDBLOCK:


-- 
NetSurf Browser

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to