Skip to content

Prepare agent for testing#131

Merged
invidian merged 6 commits intomasterfrom
invidian/prepare-agent-for-testing
Feb 14, 2022
Merged

Prepare agent for testing#131
invidian merged 6 commits intomasterfrom
invidian/prepare-agent-for-testing

Conversation

@invidian
Copy link
Member

Some low-risk changes extracted from #116.

So it cannot be constructed externally, for cleaner usage.

Signed-off-by: Mateusz Gozdek <mgozdek@microsoft.com>
Signed-off-by: Mateusz Gozdek <mgozdek@microsoft.com>
Signed-off-by: Mateusz Gozdek <mgozdek@microsoft.com>
This allows to track when agent finishes it's run and inspecting it's
results, which is useful in testing.

This commit adds also a basic test inspecting the run error, for now
without a positive case where no error is returned, as we have no way of
mocking/configuring certain dependencies, for example customizing paths
of Flatcar configuration.

Closes #113

Signed-off-by: Mateusz Gozdek <mgozdek@microsoft.com>
Signed-off-by: Mateusz Gozdek <mgozdek@microsoft.com>
Instead of waiting the default poll interval before doing anything.

Closes #126

Signed-off-by: Mateusz Gozdek <mgozdek@microsoft.com>
@invidian invidian merged commit 90bccc0 into master Feb 14, 2022
@invidian invidian deleted the invidian/prepare-agent-for-testing branch February 14, 2022 09:34
@invidian invidian added this to the v0.9.0 milestone Jun 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant