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

Run some integration tests with authentication #113

Merged
merged 5 commits into from
Jun 4, 2022

Conversation

Namoshek
Copy link
Collaborator

@Namoshek Namoshek commented Jun 4, 2022

As there have been multiple reports in #105 about failing logins to Mosquitto after upgrading to Mosquitto 2, this PR adds integration tests to the build pipeline which ensure authentication works as expected with Mosquitto.

To achieve this, Mosquitto listenes on an additional port 1884 with enabled authentication whitelist (and disabled anonymous authentication). The pipeline uses a static hashed passwd file for the ci-test-user.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 4, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Namoshek Namoshek merged commit 77f6854 into master Jun 4, 2022
@Namoshek Namoshek deleted the feature-test-authentication-against-mosquitto branch June 4, 2022 08:56
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