Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • KStars KStars
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 82
    • Issues 82
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 10
    • Merge requests 10
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • EducationEducation
  • KStarsKStars
  • Merge requests
  • !370

Adjust dbus interfaces and paths to allow test_ekos_scheduler_ops tests to...

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Hy Murveit requested to merge murveit/kstars:mock1 into master Jul 24, 2021
  • Overview 17
  • Commits 3
  • Pipelines 9
  • Changes 12

Adjust dbus interfaces and paths to allow test_ekos_scheduler_ops tests to succeed when Ekos is running.

Made a new dbus, called org.kde.mockkstars with base path /MockKStars This prevents dbus collisions that would occur when a standard Ekos dbus connection is running on the same computer--e.g. an instance of Ekos is running and at the same time the test_ekos_scheduler_ops test tries to run.

TESTING THIS CHANGE

Before merging in this new code

  • End all running KStars/Ekos jobs on your computer.
  • Then run test_ekos_scheduler_ops. The test should pass.
  • Now start KStars, Start Ekos, connect to Indi.
  • Then run test_ekos_scheduler_ops again. The test should fail.

After merging in this new code

  • Same as above, except the test_ekos_scheduler_ops test should pass on the last line.
Edited Jan 17, 2022 by Hy Murveit
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: mock1