docstr: Should exit immediately and print logs even if job returns instantly.
code: def test_submit_with_logs_instant_job(self, ray_start_stop):
      """Should exit immediately and print logs even if job returns instantly."""
      cmd = "echo hello"
      stdout, _ = _run_cmd(f"ray job submit -- bash -c '{cmd}'")
      assert "hello" in stdout
  
imports: from contextlib import contextmanager
  import ray
  import json
  import os
  import logging
  import sys
  import subprocess
  from typing import Optional, Tuple
  import pytest
label_desc: Use image node_id 3 for calling the TestJobSubmit obj's underlying member method code with example usage: obj.test_submit_with_logs_instant_job(ray_start_stop) without return types