You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "xiaojian zhou (JIRA)" <ji...@apache.org> on 2019/04/12 17:00:00 UTC

[jira] [Updated] (GEODE-6640) Need to add a integration test cases to do put then get from async Jdbc mapping or from aceespr

     [ https://issues.apache.org/jira/browse/GEODE-6640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

xiaojian zhou updated GEODE-6640:
---------------------------------
    Description: 
{noformat}
Case 1: 
     create async jdbc mapping

    put a domain object, invalidate the key in region, then get it back
    put a pdxInstance, invalidate the key in region, then get it back

Case 2:
     create async jdbc mapping
     create a member with accessor
     do put into accessor
     invalidate the entry in region
     do get from accessor
{noformat}

  was:
{noformat}

      PdxInstance pdxEmployee1 =
          ClusterStartupRule.getCache().createPdxInstanceFactory(Employee.class.getName())
              .writeString("id", "id1").writeString("name", "Emp1").writeInt("age", 55).create();

      String pdxkey1 = "pdxkey1";
      Region<Object, Object> region = ClusterStartupRule.getCache().getRegion(REGION_NAME);
      region.put(pdxkey1, pdxEmployee1);
      region.put("key1", new Employee("key1", "name1", 30));
      region.invalidate(pdxkey1);
      region.invalidate("key1");
      await().untilAsserted(() -> {
        assertThat(region.get(pdxkey1)).isNotNull();
        assertThat(region.get("key1")).isNotNull();
      });
{noformat}

        Summary: Need to add a integration test cases to do put then get from async Jdbc mapping or from aceespr  (was: Need to add a integration test case to do put then get to region with Jdbc mapping)

> Need to add a integration test cases to do put then get from async Jdbc mapping or from aceespr
> -----------------------------------------------------------------------------------------------
>
>                 Key: GEODE-6640
>                 URL: https://issues.apache.org/jira/browse/GEODE-6640
>             Project: Geode
>          Issue Type: Bug
>            Reporter: xiaojian zhou
>            Priority: Major
>
> {noformat}
> Case 1: 
>      create async jdbc mapping
>     put a domain object, invalidate the key in region, then get it back
>     put a pdxInstance, invalidate the key in region, then get it back
> Case 2:
>      create async jdbc mapping
>      create a member with accessor
>      do put into accessor
>      invalidate the entry in region
>      do get from accessor
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)