-
Notifications
You must be signed in to change notification settings - Fork 51
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
Conversation
Support for Training in Daemon
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
metrics/clients_test.go
Outdated
func Test_callHTTPServiceHeartbeat(t *testing.T) { | ||
serviceURL := "http://demo5343751.mockable.io/heartbeat" | ||
func (suite *ClientTestSuite) Test_callHTTPServiceHeartbeat() { | ||
serviceURL := "http://localhost:1111/heartbeat" |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
Kudos, SonarCloud Quality Gate passed! |
Fix the build and get away from mockables
#429