Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test case to test the different update strategies. #67

Closed
wants to merge 5 commits into from
Closed

Test case to test the different update strategies. #67

wants to merge 5 commits into from

Conversation

horia-delicoti
Copy link
Contributor

@horia-delicoti horia-delicoti commented Feb 7, 2017

[Closes #38]

* Adding template files to be compared to when controlling the update strategy.

Signed-off-by: Horia Delicoti <[email protected]>
… Supervisor.

* Adding keyword for git to force push to application.

Signed-off-by: Horia Delicoti <[email protected]>
…egies of Resin Supervisor.

[Connects to #38]

Signed-off-by: Horia Delicoti <[email protected]>
Copy link
Contributor

@lifeeth lifeeth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question - The Logs from supervisor are not guaranteed to be in a order and there could be duplicates as well. I am not sure if re.search() takes this into account.

with open(file_to_compare, "r") as fd:
to_compare = fd.read()

matches = pattern.search(to_compare, re.IGNORECASE)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Question - The Logs from supervisor are not guaranteed to be in a order and there could be duplicates as well. I am not sure if re.search() takes this into account.

@ab77 ab77 closed this Jun 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Resin-Supervisor: test the different update strategies
3 participants