~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to test_on_merge.py

  • Committer: William Grant
  • Date: 2012-01-01 03:20:03 UTC
  • mto: This revision was merged to the branch mainline in revision 14614.
  • Revision ID: william.grant@canonical.com-20120101032003-fnf5yqqv4f4xw27t
Other bits and pieces.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
"""Tests that get run automatically on a merge."""
7
7
import _pythonpath
8
8
 
9
 
import sys, time
10
 
import os, errno
 
9
import errno
 
10
import os
 
11
import select
 
12
from signal import (
 
13
    SIGHUP,
 
14
    SIGINT,
 
15
    SIGKILL,
 
16
    SIGTERM,
 
17
    )
 
18
from StringIO import StringIO
 
19
from subprocess import (
 
20
    PIPE,
 
21
    Popen,
 
22
    STDOUT,
 
23
    )
 
24
import sys
11
25
import tabnanny
12
 
from StringIO import StringIO
 
26
import time
 
27
 
13
28
import psycopg2
14
 
from subprocess import Popen, PIPE, STDOUT
15
 
from signal import SIGKILL, SIGTERM, SIGINT, SIGHUP
16
 
import select
17
 
 
18
29
 
19
30
# The TIMEOUT setting (expressed in seconds) affects how long a test will run
20
31
# before it is deemed to be hung, and then appropriately terminated.