diff --git a/.oracle/oracle-init/00_initdb.sql b/.oracle/oracle-init/00_initdb.sql new file mode 100644 index 000000000..97849d487 --- /dev/null +++ b/.oracle/oracle-init/00_initdb.sql @@ -0,0 +1,13 @@ +alter database set TIME_ZONE='Europe/Oslo'; +alter database datafile 1 autoextend on maxsize 2G; +alter system set recyclebin=OFF DEFERRED; +alter system set processes=150 scope=spfile; +alter system set session_cached_cursors=100 scope=spfile; +alter system set session_max_open_files=100 scope=spfile; +alter system set sessions=100 scope=spfile; +alter system set license_max_sessions=100 scope=spfile; +alter system set license_sessions_warning=100 scope=spfile; +alter system set disk_asynch_io=FALSE scope=spfile; +alter system set open_cursors=300 scope=both sid='*'; +alter profile default limit password_life_time unlimited; +alter profile default limit password_verify_function null; diff --git a/.oracle/oracle-init/fplos.sql b/.oracle/oracle-init/01_fplos.sql similarity index 100% rename from .oracle/oracle-init/fplos.sql rename to .oracle/oracle-init/01_fplos.sql diff --git a/src/test/java/no/nav/foreldrepenger/los/oppgave/OppgaveRepositoryTest.java b/src/test/java/no/nav/foreldrepenger/los/oppgave/OppgaveRepositoryTest.java index 25c0fa4b6..d453f28e9 100644 --- a/src/test/java/no/nav/foreldrepenger/los/oppgave/OppgaveRepositoryTest.java +++ b/src/test/java/no/nav/foreldrepenger/los/oppgave/OppgaveRepositoryTest.java @@ -79,7 +79,7 @@ void testHentingAvEventerVedBehandlingId() { } private Long setupOppgaveMedEgenskaper(AndreKriterierType... kriterier) { - var saksnummer = (long) (Math.random() * 10000); + Long saksnummer = (long) (Math.random() * 10000); var oppgave = Oppgave.builder().dummyOppgave(AVDELING_DRAMMEN_ENHET).medFagsakSaksnummer(saksnummer).build(); entityManager.persist(oppgave); for (var kriterie : kriterier) {