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

add method to set a fixed container mac address #616

Closed

Conversation

seb1992
Copy link
Contributor

@seb1992 seb1992 commented Oct 15, 2022

Add method 'WithMacAddress' to set a fixed mac address to a container in TestContainersBuilder. As background information to why I need this: I want to test software that requires a license key that is tied to the mac address.

Add method WithMacAddress to set a fixed mac address to a container in TestContainersBuilder. As background information: I want to test software that requires a license key that is tied to the mac address.
Copy link
Collaborator

@HofmeisterAn HofmeisterAn left a comment

Choose a reason for hiding this comment

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

Thanks for your pull request 🙏. I suggest to rename macaddress to macAddress (maybe it is better to push these changes all at once). Can you please add a test to TestcontainersContainerTest?

seb1992 and others added 11 commits October 15, 2022 10:00
rename macaddress to macAddress

Co-authored-by: Andre Hofmeister <[email protected]>
rename macaddress to macAddress

Co-authored-by: Andre Hofmeister <[email protected]>
rename macaddress to macAddress

Co-authored-by: Andre Hofmeister <[email protected]>
…nfiguration.cs


fix typo

Co-authored-by: Andre Hofmeister <[email protected]>
…figuration.cs


rename macaddress to macAddress

Co-authored-by: Andre Hofmeister <[email protected]>
…figuration.cs


rename macaddress to macAddress

Co-authored-by: Andre Hofmeister <[email protected]>
…figuration.cs


add inherit doc

Co-authored-by: Andre Hofmeister <[email protected]>
rename macaddress to macAddress

Co-authored-by: Andre Hofmeister <[email protected]>
rename macaddress to macAddress

Co-authored-by: Andre Hofmeister <[email protected]>
…figuration.cs


rename macaddress to macAddress

Co-authored-by: Andre Hofmeister <[email protected]>
add test for the feature to set a fixed mac address for a container
@seb1992
Copy link
Contributor Author

seb1992 commented Oct 15, 2022

Thanks for the quick review! I executed the suggested renaming and added a test.

Viele Grüße aus dem Schwarzwald. ;)

Copy link
Collaborator

@HofmeisterAn HofmeisterAn left a comment

Choose a reason for hiding this comment

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

Thanks again for the contribution.

Viele Grüße aus dem Schwarzwald. ;)

Grüße zurück 😀

@HofmeisterAn
Copy link
Collaborator

f2cb532.

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.

2 participants