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

#426 - get away from mockables #566

Merged
merged 5 commits into from
May 10, 2022

Conversation

anandrgitnirman
Copy link
Contributor

@anandrgitnirman anandrgitnirman commented Apr 13, 2022

Fix the build and get away from mockables
#429

Support for Training in Daemon
training/training.proto Outdated Show resolved Hide resolved
training/training.proto Outdated Show resolved Hide resolved
anandrgitnirman added 3 commits April 21, 2022 14:18
review comments addressed
make the model available publicily for any inference calls
add in authorization details as part of incoming message
Alternative to Mockables to run tests without net
@anandrgitnirman anandrgitnirman marked this pull request as ready for review May 9, 2022 18:19
@anandrgitnirman anandrgitnirman changed the title #565 #426 - get away from mockables May 9, 2022
@coveralls
Copy link

coveralls commented May 9, 2022

Coverage Status

Coverage decreased (-0.02%) to 64.318% when pulling e949ae6 on anandrgitnirman:master into 9107c46 on singnet:master.

func Test_callHTTPServiceHeartbeat(t *testing.T) {
serviceURL := "http://demo5343751.mockable.io/heartbeat"
func (suite *ClientTestSuite) Test_callHTTPServiceHeartbeat() {
serviceURL := "http://localhost:1111/heartbeat"
Copy link
Member

Choose a reason for hiding this comment

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

Lets make the port dynamic - via config file etc

Copy link
Contributor Author

Choose a reason for hiding this comment

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

have removed the hardcoded endpoint from multiple places, the service url end point is specified as a config file , for a test case , dont wanna add a new config for the port number

Copy link
Contributor Author

Choose a reason for hiding this comment

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

e949ae6 - latest commit

Removed hard coding of the url and set it once at the test suite initialization
@sonarqubecloud
Copy link

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
No Duplication information No Duplication information

@anandrgitnirman anandrgitnirman merged commit 43bf1dd into singnet:master May 10, 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.

3 participants