Skip to content

Instantly share code, notes, and snippets.

@chadh
Last active August 12, 2020 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chadh/a421ad7f98ce814fec8ea0e88b9f506d to your computer and use it in GitHub Desktop.
Save chadh/a421ad7f98ce814fec8ea0e88b9f506d to your computer and use it in GitHub Desktop.
test.php output
ubuntu@ip-10-206-9-109:~/mandrill/backend$ ./test.php
................................................................................................................................................................F...............................................................................................................................................................................................................................................F...............................F...........................................................................................................................................................
---------------------------------------------------------
588 tests run in 847 seconds with 3 failures
:
exception 'Exception' with message 'assertion failed' in /mnt/home-ubuntu/mandrill/backend/test.php:159
Stack trace:
#0 [internal function]: run_test_assertcall('/mnt/home-ubunt...', 91, '')
#1 /mnt/home-ubuntu/mandrill/backend/tests/abuse/test_content_review.php(91): assert(false)
#2 /mnt/home-ubuntu/mandrill/backend/test.php(138): test_create_and_run()
#3 [internal function]: run_test('abuse/test_cont...', 'test_create_and...')
#4 /mnt/home-ubuntu/mandrill/backend/test.php(28): call_user_func_array('run_test', Array)
#5 {main}
:
exception 'MC_Dyno_PgError' with message 'Conditional constraint violation - found unexpected item: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "GDPR_Request_pkey"
DETAIL: Key (id)=(1) already exists.' in /mnt/home-ubuntu/mandrill/backend/app/lib/MC/Dyno/Pg.php:154
Stack trace:
#0 /mnt/home-ubuntu/mandrill/backend/app/lib/MC/Dyno/Pg.php(173): MC_Dyno_Pg::putNew('GDPR_Request', Array)
#1 /mnt/home-ubuntu/mandrill/backend/app/lib/MC/Dyno.php(229): MC_Dyno_Pg::update('GDPR_Request', Array, Array, Array, false)
#2 /mnt/home-ubuntu/mandrill/backend/app/lib/MC/Dyno/Record.php(399): MC_Dyno::update('GDPR_Request', Array, Array, Array, false)
#3 /mnt/home-ubuntu/mandrill/backend/app/lib/MC/Dyno/Record.php(343): MC_Dyno_Record->insert()
#4 /mnt/home-ubuntu/mandrill/backend/tests/gdpr/test_request.php(26): MC_Dyno_Record->save()
#5 /mnt/home-ubuntu/mandrill/backend/test.php(138): test_request_pk_constraint()
#6 [internal function]: run_test('gdpr/test_reque...', 'test_request_pk...')
#7 /mnt/home-ubuntu/mandrill/backend/test.php(28): call_user_func_array('run_test', Array)
#8 {main}
:
exception 'MC_Dyno_PgError' with message 'Conditional constraint violation - found unexpected item: SQLSTATE[23505]: Unique violation: 7 ERROR: duplicate key value violates unique constraint "Sender_pkey"
DETAIL: Key (user_id, address)=(1, test-sender@mandrill.com) already exists.' in /mnt/home-ubuntu/mandrill/backend/app/lib/MC/Dyno/Pg.php:154
Stack trace:
#0 /mnt/home-ubuntu/mandrill/backend/app/lib/MC/Dyno/Pg.php(173): MC_Dyno_Pg::putNew('Sender', Array)
#1 /mnt/home-ubuntu/mandrill/backend/app/lib/MC/Dyno.php(229): MC_Dyno_Pg::update('Sender', Array, Array, Array, false)
#2 /mnt/home-ubuntu/mandrill/backend/app/lib/MC/Dyno/Record.php(399): MC_Dyno::update('Sender', Array, Array, Array, false)
#3 /mnt/home-ubuntu/mandrill/backend/app/lib/MC/Dyno/Record.php(343): MC_Dyno_Record->insert()
#4 /mnt/home-ubuntu/mandrill/backend/tests/rejects/test_rejects.php(10): MC_Dyno_Record->save()
#5 /mnt/home-ubuntu/mandrill/backend/test.php(138): test_reject_cluster()
#6 [internal function]: run_test('rejects/test_re...', 'test_reject_clu...')
#7 /mnt/home-ubuntu/mandrill/backend/test.php(28): call_user_func_array('run_test', Array)
#8 {main}
ubuntu@ip-10-83-130-21:~/mandrill/backend$ ./test.php
.............F............................................................................................................................................................F.................F..................................................................................................F.FF.........................................................................................................................................................................................................................................................................................................
---------------------------------------------------------
588 tests run in 302 seconds with 6 failures
:
exception 'Exception' with message 'assertion failed' in /mnt/home-ubuntu/mandrill/backend/test.php:159
Stack trace:
#0 [internal function]: run_test_assertcall('/mnt/home-ubunt...', 6, '')
#1 /mnt/home-ubuntu/mandrill/backend/tests/abuse/test_compliance_queue.php(6): assert(false)
#2 /mnt/home-ubuntu/mandrill/backend/test.php(138): test_create()
#3 [internal function]: run_test('abuse/test_comp...', 'test_create')
#4 /mnt/home-ubuntu/mandrill/backend/test.php(28): call_user_func_array('run_test', Array)
#5 {main}
:
exception 'Exception' with message 'assertion failed' in /mnt/home-ubuntu/mandrill/backend/test.php:159
Stack trace:
#0 [internal function]: run_test_assertcall('/mnt/home-ubunt...', 99, '')
#1 /mnt/home-ubuntu/mandrill/backend/tests/framework/test_uniquequeue.php(99): assert(false)
#2 /mnt/home-ubuntu/mandrill/backend/test.php(138): test_queue_local()
#3 [internal function]: run_test('framework/test_...', 'test_queue_loca...')
#4 /mnt/home-ubuntu/mandrill/backend/test.php(28): call_user_func_array('run_test', Array)
#5 {main}
:
exception 'Exception' with message 'assertion failed' in /mnt/home-ubuntu/mandrill/backend/test.php:159
Stack trace:
#0 [internal function]: run_test_assertcall('/mnt/home-ubunt...', 51, '')
#1 /mnt/home-ubuntu/mandrill/backend/tests/framework/test_counters.php(51): assert(false)
#2 /mnt/home-ubuntu/mandrill/backend/test.php(138): test_counter_many()
#3 [internal function]: run_test('framework/test_...', 'test_counter_ma...')
#4 /mnt/home-ubuntu/mandrill/backend/test.php(28): call_user_func_array('run_test', Array)
#5 {main}
:
exception 'Exception' with message 'assertion failed' in /mnt/home-ubuntu/mandrill/backend/test.php:159
Stack trace:
#0 [internal function]: run_test_assertcall('/mnt/home-ubunt...', 95, '')
#1 /mnt/home-ubuntu/mandrill/backend/tests/alerts/test_alerts.php(95): assert(false)
#2 /mnt/home-ubuntu/mandrill/backend/test.php(138): test_open_rate_standalone()
#3 [internal function]: run_test('alerts/test_ale...', 'test_open_rate_...')
#4 /mnt/home-ubuntu/mandrill/backend/test.php(28): call_user_func_array('run_test', Array)
#5 {main}
:
exception 'Exception' with message 'assertion failed' in /mnt/home-ubuntu/mandrill/backend/test.php:159
Stack trace:
#0 [internal function]: run_test_assertcall('/mnt/home-ubunt...', 127, '')
#1 /mnt/home-ubuntu/mandrill/backend/tests/alerts/test_alerts.php(127): assert(false)
#2 /mnt/home-ubuntu/mandrill/backend/test.php(138): test_send_volume_increase_standalone()
#3 [internal function]: run_test('alerts/test_ale...', 'test_send_volum...')
#4 /mnt/home-ubuntu/mandrill/backend/test.php(28): call_user_func_array('run_test', Array)
#5 {main}
:
exception 'Exception' with message 'assertion failed' in /mnt/home-ubuntu/mandrill/backend/test.php:159
Stack trace:
#0 [internal function]: run_test_assertcall('/mnt/home-ubunt...', 144, '')
#1 /mnt/home-ubuntu/mandrill/backend/tests/alerts/test_alerts.php(144): assert(false)
#2 /mnt/home-ubuntu/mandrill/backend/test.php(138): test_bounce_rate_increase_standalone()
#3 [internal function]: run_test('alerts/test_ale...', 'test_bounce_rat...')
#4 /mnt/home-ubuntu/mandrill/backend/test.php(28): call_user_func_array('run_test', Array)
#5 {main}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment