IMPALA-8499: avoid datetime.total_seconds() in test_insert_events
IMPALA-8499: avoid datetime.total_seconds() in test_insert_events

This function was only added in Python 2.7.

Change-Id: I8e6e556d99d07c1f559a2097fbd634bfc5eaaa52
Reviewed-on: http://gerrit.cloudera.org:8080/13245
Reviewed-by: Todd Lipcon <2c763d726a8c2f6afda9be7e0e56a2caa6bb5e6b@apache.org>
Tested-by: Impala Public Jenkins <039b6b20426ff68ebe492b3021890d8c8fd010c9@cloudera.com>
Reviewed-on: https://gerrit.sjc.cloudera.com/c/cdh/impala/+/49695
CDH-Build: Vihang Karajgaonkar <a47ecd7a5be7797dc12a126288bdefa499ee9afa@cloudera.com>
Reviewed-by: Vihang Karajgaonkar <a47ecd7a5be7797dc12a126288bdefa499ee9afa@cloudera.com>
Quasar-L0: Vihang Karajgaonkar <a47ecd7a5be7797dc12a126288bdefa499ee9afa@cloudera.com>
Tested-by: Vihang Karajgaonkar <a47ecd7a5be7797dc12a126288bdefa499ee9afa@cloudera.com>

cloudera/Impala,cloudera/Impala,cloudera/Impala,cloudera/Impala,cloudera/Impala,cloudera/Impala,cloudera/Impala