Skip to content

Commit

Permalink
backup commit
Browse files Browse the repository at this point in the history
  • Loading branch information
zdenek-jonas committed Nov 7, 2023
1 parent cc7f8f0 commit 347a481
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
package org.eclipse.store.integrations.spring.boot.types;

/*-
* #%L
* spring-boot3
* %%
* Copyright (C) 2023 MicroStream Software
* %%
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
* #L%
*/

import org.eclipse.store.integrations.spring.boot.types.configuration.ConfigurationValues;
import org.eclipse.store.storage.embedded.types.EmbeddedStorageManager;
import org.springframework.context.annotation.Bean;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
package org.eclipse.store.integrations.spring.boot.types;

/*-
* #%L
* spring-boot3
* %%
* Copyright (C) 2023 MicroStream Software
* %%
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
* #L%
*/

import org.eclipse.store.integrations.spring.boot.types.configuration.ConfigurationValues;
import org.eclipse.store.storage.embedded.types.EmbeddedStorageFoundation;
import org.eclipse.store.storage.embedded.types.EmbeddedStorageManager;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
package org.eclipse.store.integrations.spring.boot.types;

/*-
* #%L
* spring-boot3
* %%
* Copyright (C) 2023 MicroStream Software
* %%
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
* #L%
*/

import org.eclipse.serializer.util.logging.Logging;
import org.eclipse.store.integrations.spring.boot.types.configuration.ConfigurationValues;
import org.eclipse.store.storage.embedded.configuration.types.EmbeddedStorageConfigurationBuilder;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
package org.eclipse.store.integrations.spring.boot.types;

/*-
* #%L
* spring-boot3
* %%
* Copyright (C) 2023 MicroStream Software
* %%
* This program and the accompanying materials are made
* available under the terms of the Eclipse Public License 2.0
* which is available at https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
* #L%
*/


import org.eclipse.store.integrations.spring.boot.types.configuration.ConfigurationValues;
import org.eclipse.store.storage.embedded.types.EmbeddedStorageFoundation;
Expand Down Expand Up @@ -45,9 +59,11 @@ void restartStorageTest(@Autowired EmbeddedStorageManager manager)
manager.storeRoot();
manager.shutdown();

EmbeddedStorageManager storage = provider.createStorage(myConfiguration);
storage.start();
String stringFromStorage = (String) storage.root();
Assertions.assertEquals(s, stringFromStorage);
try (EmbeddedStorageManager storage = provider.createStorage(myConfiguration))
{
storage.start();
String stringFromStorage = (String) storage.root();
Assertions.assertEquals(s, stringFromStorage);
}
}
}
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<license.licenceFile>${basedir}/LICENSE</license.licenceFile>
<api.version>1</api.version>
<javadoc.failed.on.error>false</javadoc.failed.on.error>
<eclipse.serializer.version>1.0.0-SNAPSHOT</eclipse.serializer.version>
<eclipse.serializer.version>1.1.0-SNAPSHOT</eclipse.serializer.version>
<failsafe.rerunFailingTestsCount>2</failsafe.rerunFailingTestsCount>
<surefire.rerunFailingTestsCount>2</surefire.rerunFailingTestsCount>
</properties>
Expand Down

0 comments on commit 347a481

Please sign in to comment.