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

added tests to make sure idsite option is applied #8677

Merged
merged 2 commits into from Sep 1, 2015

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented Aug 31, 2015

@tsteur tsteur added the not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. label Aug 31, 2015
@tsteur tsteur added this to the 2.15.0 milestone Aug 31, 2015
// execute again but this time with different idsite
$opts['--idsite'] = 3;

self::executeLogImporter($logFile, $opts);
Copy link
Member

Choose a reason for hiding this comment

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

Instead of executing executeLogImporter twice in this method,can you add the idSite as a parameter to this method (ie replayLogFile($idSite)) and call replayLogFile twice. Since executing the log importer can take a bit, I think it's better to only execute it once in these helper methods, and execute it multiple times (indirectly through said helper methods) in the trackVisits method. This way it's explicitly clear how many times the log importer is executed.

Copy link
Member Author

Choose a reason for hiding this comment

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

done, thx

diosmosis added a commit that referenced this pull request Sep 1, 2015
@diosmosis diosmosis merged commit eb7b0f5 into master Sep 1, 2015
@diosmosis diosmosis deleted the replaytracking_with_fixedsiteid branch September 1, 2015 19:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants