Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-929

Fix test_signal_handler failure

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Slider 0.80
    • Slider 0.81
    • agent, test
    • None

    Description

      test_signal_handler started failing after commit for SLIDER-916 went in. Need to fix this.

      ======================================================================
      ERROR: test_signal_handler (TestMain.TestMain)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File "/home/jenkins/jenkins-slave/workspace/Slider-develop/slider-agent/src/test/python/mock/mock.py", line 1199, in patched
          return func(*args, **keywargs)
        File "/home/jenkins/jenkins-slave/workspace/Slider-develop/slider-agent/src/test/python/agent/TestMain.py", line 60, in test_signal_handler
          main.signal_handler("signum", "frame")
        File "/home/jenkins/jenkins-slave/workspace/Slider-develop/slider-agent/src/main/python/agent/main.py", line 59, in signal_handler
          tmpdir = controller.actionQueue.dockerManager.stop_container()
      AttributeError: 'Controller' object has no attribute 'actionQueue'
      
      ----------------------------------------------------------------------
      

      Attachments

        1. SLIDER-929-001.patch
          0.5 kB
          thomas liu

        Activity

          People

            thomas_liu thomas liu
            gsaha Gour Saha
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: