Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-31928

Add the tests for the next round of configurations for the AuxTelVisit scripts

    XMLWordPrintable

    Details

    • Story Points:
      3
    • Sprint:
      TSSW Sprint - Sep 27 - Oct 11
    • Team:
      Telescope and Site
    • Urgent?:
      No

      Description

      This task covers the effort to add the additional AuxTelVisit integration test configurations.

      It will also cover the effort to restructure the BaseScript class to better handle multiple configurations and multiple scripts.  Currently, the run command is setup with only one script and one configuration.  To run multiple scripts the run command must be called multiple times.  This has a lot of unnecessary overhead (starting and stopping the ScriptQueue remote each time).

        Attachments

          Issue Links

            Activity

            Show
            rbovill Rob Bovill added a comment - - edited https://github.com/lsst-ts/ts_IntegrationTests/tree/tickets/DM-31928 https://github.com/lsst-ts/ts_IntegrationTests/tree/tickets/DM-31928_bad  
            Hide
            rbovill Rob Bovill added a comment -

            After much research and many discussions, the initial approach I tried will not work. I tried splitting up the run method into multiple methods and attributes. This proved untenable with asyncio and syncing with the ScriptQueue remote.

            I learned about asyncio and Classes and Python programming in general, along the way. But ultimately, the initial approach just won't work.

            Show
            rbovill Rob Bovill added a comment - After much research and many discussions, the initial approach I tried will not work. I tried splitting up the run method into multiple methods and attributes. This proved untenable with asyncio and syncing with the ScriptQueue remote. I learned about asyncio and Classes and Python programming in general, along the way. But ultimately, the initial approach just won't work.
            Hide
            rbovill Rob Bovill added a comment -

            Instead, I'm going to leave the current series of steps in the run function as is, but I'm going to define the script and config parameters as Class attribute tuples and iterate the add command over them. This work will be tracked by DM-32085.

            Show
            rbovill Rob Bovill added a comment - Instead, I'm going to leave the current series of steps in the run function as is, but I'm going to define the script and config parameters as Class attribute tuples and iterate the add command over them. This work will be tracked by DM-32085 .
            Hide
            rbovill Rob Bovill added a comment -

            A good learning experience.

            Show
            rbovill Rob Bovill added a comment - A good learning experience.
            Hide
            mareuter Michael Reuter added a comment - - edited

            Thanks for trying the design in spite of it ultimately not working. That's the way software development goes sometimes. 

            Show
            mareuter Michael Reuter added a comment - - edited Thanks for trying the design in spite of it ultimately not working. That's the way software development goes sometimes. 

              People

              Assignee:
              rbovill Rob Bovill
              Reporter:
              rbovill Rob Bovill
              Reviewers:
              Michael Reuter
              Watchers:
              Michael Reuter, Rob Bovill
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.