Skip to content

Conversation

@ewoutp
Copy link
Contributor

@ewoutp ewoutp commented May 28, 2018

Several sync related fixes, tests & improvements.

This PR includes #143

@ewoutp ewoutp added the 9 WIP label May 28, 2018
@ewoutp ewoutp requested a review from neunhoef May 31, 2018 07:08
@ewoutp ewoutp mentioned this pull request May 31, 2018
matthewvon
matthewvon previously approved these changes Jun 4, 2018
@matthewvon
Copy link

WAIT ... pushed approved on wrong PR ... just starting on this one.

@matthewvon matthewvon dismissed their stale review June 4, 2018 18:20

approved wrong PR ... working this one now

assert.Equal(t, v1.PullNever, def(SyncSpec{ImagePullPolicy: util.NewPullPolicy(v1.PullNever)}).GetImagePullPolicy())
assert.Equal(t, "test-jwt", def(SyncSpec{}).Authentication.GetJWTSecretName())
assert.Equal(t, "foo", def(SyncSpec{Authentication: SyncAuthenticationSpec{JWTSecretName: util.NewString("foo")}}).Authentication.GetJWTSecretName())
}

Choose a reason for hiding this comment

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

no test for new parameter to monitoring.SetDefaults("string")

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good! Added some tests

Copy link

@matthewvon matthewvon left a comment

Choose a reason for hiding this comment

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

Need feedback on unit test failure. but otherwise ok.

@ewoutp
Copy link
Contributor Author

ewoutp commented Jun 5, 2018

Unit test failures have been fixed

@ewoutp ewoutp merged commit 4ab7a63 into master Jun 5, 2018
@ewoutp ewoutp deleted the feature/sync-reconciliation branch June 5, 2018 05:47
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.

3 participants