From b3073144010730890ba1fa1e3ce4169d7bb56619 Mon Sep 17 00:00:00 2001 From: John Kleinschmidt Date: Thu, 13 Oct 2022 10:09:09 -0400 Subject: [PATCH] test: re-enable power monitor tests on arm64 (#36015) test: re-enable powermonitor on arm64 --- spec/api-power-monitor-spec.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec/api-power-monitor-spec.ts b/spec/api-power-monitor-spec.ts index c1f55fc5606a..1867e8f97b0e 100644 --- a/spec/api-power-monitor-spec.ts +++ b/spec/api-power-monitor-spec.ts @@ -14,8 +14,7 @@ import { promisify } from 'util'; describe('powerMonitor', () => { let logindMock: any, dbusMockPowerMonitor: any, getCalls: any, emitSignal: any, reset: any; - // TODO(deepak1556): Enable on arm64 after upgrade, it crashes at the moment. - ifdescribe(process.platform === 'linux' && process.arch !== 'arm64' && process.env.DBUS_SYSTEM_BUS_ADDRESS != null)('when powerMonitor module is loaded with dbus mock', () => { + ifdescribe(process.platform === 'linux' && process.env.DBUS_SYSTEM_BUS_ADDRESS != null)('when powerMonitor module is loaded with dbus mock', () => { before(async () => { const systemBus = dbus.systemBus(); const loginService = systemBus.getService('org.freedesktop.login1');