code: def test_max_runtime_secs_in_train():
      train = setup_dataset()
  
      # Run GBM
      gbm = H2OGradientBoostingEstimator(
          max_runtime_secs=10,
          ntrees=50,
          learn_rate=0.1,
          distribution="multinomial",
      )
      gbm.train(
          x=list(range(1, 4)),
          y="class",
          training_frame=train,
          max_runtime_secs=3,
      )
  
      check_model_property(gbm, "max_runtime_secs", 3)
  
imports: import sys
  import h2o
  from tests import pyunit_utils
  from h2o.estimators.gbm import H2OGradientBoostingEstimator
label_desc: Use image node_id 4 for calling a global function with example usage: test_max_runtime_secs_in_train() without return types