Update DBConnector definition in mock_dbconnector.cpp#1362
Closed
judyjoseph wants to merge 3 commits intosonic-net:masterfrom
Closed
Update DBConnector definition in mock_dbconnector.cpp#1362judyjoseph wants to merge 3 commits intosonic-net:masterfrom
judyjoseph wants to merge 3 commits intosonic-net:masterfrom
Conversation
pavel-shirshov
previously approved these changes
Jul 24, 2020
qiluo-msft
previously approved these changes
Jul 25, 2020
Contributor
Author
|
retest this please |
1 similar comment
Contributor
Author
|
retest this please |
Contributor
Author
|
retest this please |
28b06c9
28b06c9 to
170d2b8
Compare
170d2b8 to
3052fb5
Compare
1b771d6 to
8a5e20b
Compare
Contributor
Author
|
retest this please |
Contributor
Author
|
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 |
Contributor
Author
|
retest this please |
1 similar comment
Contributor
Author
|
retest this please |
Contributor
|
looks like the issue is on line 81 (see frame 6): |
Contributor
Author
|
retest this please |
Contributor
Author
|
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 |
EdenGri
pushed a commit
to EdenGri/sonic-swss
that referenced
this pull request
Feb 28, 2022
…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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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