Page MenuHomeIn-Portal Phabricator

INP-1428 - Use "connectionOpened" method instead of "connectionOpened" property in kLogger class
ClosedPublic

Authored by alex on Apr 26 2015, 10:18 AM.

Details

Test Plan

Config fragment:

$_CONFIG['Databases'] = array(
  array(
	'DBHost' => 'host_of_1st_slave',
	'DBUser' => 'user_of_1st_slave',
	'DBUserPassword' => 'password_of_1st_slave',
	'DBLoad' => 1, // means 100% of slave load would go to this slave
  ),
);
  1. add the Databases key to /system/config.php that would look like above (maybe same database server can be used as slave too for testing purposes)
  2. configure a separate database server with slave database and replication from master
  3. trigger some errror to create record in System Log section
  4. place a following code in any event, that you can trigger: $this->Application->deleteLog(unique_id) (replace unique_id with value from LogUniqueId column of any record in System Log section)
  5. confirm, that chosen record was removed from database

Diff Detail

Repository
rINP In-Portal
Branch
/in-portal/branches/5.2.x
Lint
Lint OK
Unit
No Unit Test Coverage

Event Timeline

alex updated this revision to Diff 162.Apr 26 2015, 10:18 AM
alex retitled this revision from to INP-1428 - Use "connectionOpened" method instead of "connectionOpened" property.
alex updated this object.
alex edited the test plan for this revision. (Show Details)
alex added 1 JIRA issue(s): INP-1428.
alex edited the test plan for this revision. (Show Details)Apr 26 2015, 10:19 AM
alex edited edge metadata.
glebs accepted this revision.May 26 2015, 4:04 AM
glebs edited edge metadata.
This revision is now accepted and ready to land.May 26 2015, 4:04 AM
This revision was automatically updated to reflect the committed changes.
alex retitled this revision from INP-1428 - Use "connectionOpened" method instead of "connectionOpened" property to INP-1428 - Use "connectionOpened" method instead of "connectionOpened" property in kLogger class.Mar 27 2016, 5:40 AM
alex edited edge metadata.