message: test: make system tests fail accurately locally
diff: @@ -34,13 +34,12 @@ nock(HOST_ADDRESS)
  .replyWithError({code: 'ENOTFOUND'})
  .persist();
  -describe('Logging', async () => {
  +describe('Logging', () => {
  const bigQuery = new BigQuery();
  const pubsub = new PubSub();
  const storage = new Storage();
  const logging = new Logging();
  - const PROJECT_ID = await logging.auth.getProjectId();
  const TESTS_PREFIX = 'nodejs-logging-system-test';
  const WRITE_CONSISTENCY_DELAY_MS = 5000;
  @@ -49,8 +48,10 @@ describe('Logging', async () => {
  const dataset = bigQuery.dataset(generateName().replace(/-/g, '_'));
  const topic = pubsub.topic(generateName());
  + let PROJECT_ID: string;
  + before(async () => {
  const serviceAccount = (await logging.auth.getCredentials()).client_email;
  -
  + PROJECT_ID = await logging.auth.getProjectId();
  await bucket.create();
  await bucket.iam.setPolicy({
  bindings: [
  @@ -62,6 +63,7 @@ describe('Logging', async () => {
  });
  await dataset.create();
  await topic.create();
  + });
  after(async () => {
  const oneHourAgo = new Date();
  @@ -598,7 +600,6 @@ describe('Logging', async () => {
  getEntriesFromLog(log, {numExpectedMessages: 1}, (err, entries) => {
  assert.ifError(err);
  -
  const entry = entries![0];
  assert.strictEqual(entry.data, text);
  