Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@bajtos
Copy link
Member

@bajtos bajtos commented Jul 29, 2016

The remote-connector test has misconfigured the client (remote) model, where the client model was trying to keep track of changes. That's redundant because it's up to the server model (attached directly to the database) to track changes.

This patch fixes that configuration and also cleans up the test code a little bit to make it easier to distinguish between the remote (client) model and the server model.

/to @0candy Please review. Feel free to make any small improvements yourself, and also please back-port to 2.x if appropriate.

/cc @ritch

The remote-connector test has misconfigured the client (remote) model,
where the client model was trying to keep track of changes. That's
redundant because it's up to the server model (attached directly to the
database) to track changes.

This commit fixes that configuration and also cleans up the test code
a little bit to make it easier to distinguish between the remote
(client) model and the server model.
@0candy
Copy link
Contributor

0candy commented Jul 29, 2016

LGTM

@0candy 0candy merged commit 389fd85 into master Jul 29, 2016
@0candy 0candy deleted the fix/misconfigured-change-replication branch July 29, 2016 15:27
@0candy 0candy removed the #review label Jul 29, 2016
0candy pushed a commit that referenced this pull request Jul 29, 2016
@0candy 0candy mentioned this pull request Jul 29, 2016
0candy added a commit that referenced this pull request Jul 29, 2016
bajtos added a commit that referenced this pull request Aug 16, 2016
 * Revert globalization of Swagger descriptions (Miroslav Bajtoš)
 * Expose `Replace*` methods (Amir Jafarian)
 * Add bcrypt validation (Loay)
 * Cache remoting descriptions to speed up tests (Miroslav Bajtoš)
 * Revert globalization of assert() messages (Miroslav Bajtoš)
 * Fix token middleware to not trigger CLS init (Miroslav Bajtoš)
 * common: add KeyValueModel (Miroslav Bajtoš)
 * Globalize current-context deprecation messages (Miroslav Bajtoš)
 * Deprecate current-context API (Miroslav Bajtoš)
 * test: increase timeout to prevent CI failures (Miroslav Bajtoš)
 * Backport of #2407 (Candy)
 * test: fix timeout in rest.middleware.test (Miroslav Bajtoš)
 * test: fix "socket hang up" error in app.test (Miroslav Bajtoš)
 * test: increate timeout in Role test (Miroslav Bajtoš)
 * test: make status test more robust (Miroslav Bajtoš)
 * test: fix broken Role tests (Miroslav Bajtoš)
 * Update dependencies to their latest versions (Miroslav Bajtoš)
 * Increase timeout (jannyHou)
 * Backport of #2565 (Miroslav Bajtoš)
 * Avoid calling deprecated methds (Amir Jafarian)
 * test: use local registry in test fixtures (Miroslav Bajtoš)
 * Fix test case error (Loay)
 * Backport/Fix security issue 580 (Loay)
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