code: def test_default_no_retry(tmp_path):
      oracle = OracleStub(directory=tmp_path, objective="val_loss")
      trial_1 = oracle.create_trial(tuner_id="a")
      trial_1.status = trial_module.TrialStatus.INVALID
      trial_1.message = "error1"
      oracle.end_trial(trial_1)
  
      trial_2 = oracle.create_trial(tuner_id="a")
      assert trial_1.trial_id != trial_2.trial_id
  
imports: import datetime
  import threading
  import time
  import numpy
  import pytest
  import keras_tuner
  from keras_tuner.engine import oracle
  from keras_tuner.engine import trial
  from keras_tuner.tuners import gridsearch
label_desc: Use image node_id 12 for calling a global function with example usage: test_default_no_retry(tmp_path) without return types