-
Notifications
You must be signed in to change notification settings - Fork 539
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
Update DBConnector definition in mock_dbconnector.cpp #1362
Conversation
retest this please |
1 similar comment
retest this please |
retest this please |
28b06c9
28b06c9
to
170d2b8
Compare
170d2b8
to
3052fb5
Compare
1b771d6
to
8a5e20b
Compare
retest this please |
I did VS build locally in my workspace, with PR sonic-net/sonic-swss-common#371 + this PR. it worked fine.. as below
Looking into why it is failing here in the PR build |
retest this please |
1 similar comment
retest this please |
looks like the issue is on line 81 (see frame 6):
|
retest this please |
This PR change is not needed as I don't remove this current DBConnector constructor DBConnector::DBConnector(const std::string& dbName, unsigned int timeout, bool isTcpConn) in sonic-swss-common/dbconnector.h |
…tion (sonic-net#1362) - What I did Fixes sonic-net/sonic-buildimage#6437 - How I did it Changed the configuration file path from plugin to platform directory - How to verify it Verify on the device
What I did
Added the additional "namespace" argument for the DBConnector constructor in mock_dbconnector.cpp
Why I did it
The DBConnector class in the sonic-swss-common was enhanced to take the namespace argument to talk to the DB in a particular namespace. Updating the definition of DBConnector constructor here in mock_dbconnector.cpp as well.
How I verified it
Details if related