code: def test_ingest(
      ingestion_manager_init,
      sagemaker_session_mock,
      fs_runtime_client_config_mock,
  ):
      sagemaker_session_mock.sagemaker_featurestore_runtime_client.meta.config = (
          fs_runtime_client_config_mock
      )
  
      feature_group = FeatureGroup(
          name="MyGroup", sagemaker_session=sagemaker_session_mock
      )
      df = pd.DataFrame(
          dict(
              (f"float{i}", pd.Series([2.0], dtype="float64"))
              for i in range(300)
          )
      )
  
      mock_ingestion_manager_instance = Mock()
      ingestion_manager_init.return_value = (
          mock_ingestion_manager_instance
      )
      feature_group.ingest(data_frame=df, max_workers=10)
  
      ingestion_manager_init.assert_called_once_with(
          feature_group_name="MyGroup",
          sagemaker_session=sagemaker_session_mock,
          sagemaker_fs_runtime_client_config=fs_runtime_client_config_mock,
          max_workers=10,
          max_processes=1,
          profile_name=sagemaker_session_mock.boto_session.profile_name,
      )
      mock_ingestion_manager_instance.run.assert_called_once_with(
          data_frame=df, wait=True, timeout=None
      )
  
imports: from __future__ import absolute_import
  import pandas
  import pytest
  from mock import Mock, patch, MagicMock
  from botocore.exceptions import ProfileNotFound
  from sagemaker.feature_store.feature_definition import FractionalFeatureDefinition, IntegralFeatureDefinition, StringFeatureDefinition, FeatureTypeEnum, VectorCollectionType, SetCollectionType, ListCollectionType
  from sagemaker.feature_store.feature_group import FeatureGroup, IngestionManagerPandas, AthenaQuery, IngestionError
  from sagemaker.feature_store.inputs import FeatureParameter, DeletionModeEnum, TtlDuration, OnlineStoreConfigUpdate, OnlineStoreStorageTypeEnum
  from tests.unit import SAGEMAKER_CONFIG_FEATURE_GROUP
label_desc: Use image node_id 32 for calling a global function with example usage: test_ingest(ingestion_manager_init, sagemaker_session_mock, fs_runtime_client_config_mock) without return types