Skip to content

Commit 5edbf09

Browse files
committed
CI: Add integration tests for keyword-based MAM queries
Additional integration tests, some of which identifying issues as documented in #445
1 parent 0167897 commit 5edbf09

File tree

6 files changed

+831
-5
lines changed

6 files changed

+831
-5
lines changed
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<jive>
3+
<conversation>
4+
<search>
5+
<updateInterval>0</updateInterval>
6+
</search>
7+
</conversation>
8+
<adminConsole>
9+
<port>9090</port>
10+
<securePort>9091</securePort>
11+
</adminConsole>
12+
<connectionProvider>
13+
<className>org.jivesoftware.database.EmbeddedConnectionProvider</className>
14+
</connectionProvider>
15+
<autosetup>
16+
<run>true</run>
17+
<locale>en</locale>
18+
<xmpp>
19+
<auth>
20+
<anonymous>true</anonymous>
21+
</auth>
22+
<domain>example.org</domain>
23+
<fqdn>example.org</fqdn>
24+
</xmpp>
25+
<database>
26+
<mode>embedded</mode>
27+
</database>
28+
<admin>
29+
<email>admin@example.com</email>
30+
<password>admin</password>
31+
</admin>
32+
<users>
33+
<user1>
34+
<username>john</username>
35+
<password>secret</password>
36+
<name>John Doe</name>
37+
<email>john.doe@example.com</email>
38+
<roster>
39+
<item1>
40+
<jid>jane@example.org</jid>
41+
<nickname>Jane</nickname>
42+
</item1>
43+
<item2>
44+
<jid>juan@example.org</jid>
45+
<nickname>Juan</nickname>
46+
</item2>
47+
</roster>
48+
</user1>
49+
<user2>
50+
<username>jane</username>
51+
<password>secret</password>
52+
<name>Jane Doe</name>
53+
<email>jane.doe@example.com</email>
54+
<roster>
55+
<item1>
56+
<jid>john@example.org</jid>
57+
<nickname>John</nickname>
58+
</item1>
59+
<item2>
60+
<jid>juan@example.org</jid>
61+
<nickname>Juan</nickname>
62+
</item2>
63+
</roster>
64+
</user2>
65+
<user3>
66+
<username>juan</username>
67+
<password>secret</password>
68+
<name>Juan Doe</name>
69+
<email>juan.doe@example.com</email>
70+
<roster>
71+
<item1>
72+
<jid>john@example.org</jid>
73+
<nickname>John</nickname>
74+
</item1>
75+
<item2>
76+
<jid>jane@example.org</jid>
77+
<nickname>Jane</nickname>
78+
</item2>
79+
</roster>
80+
</user3>
81+
</users>
82+
</autosetup>
83+
</jive>

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ jobs:
7575
strategy:
7676
matrix: *global_matrix
7777
steps:
78+
# Checkout repo again (for the workflow-resources directory content)
79+
- uses: actions/checkout@v3
7880

7981
- name: Download the built artifacts
8082
uses: actions/download-artifact@v4
@@ -91,6 +93,7 @@ jobs:
9193
with:
9294
daily: true
9395
plugin: ./${{ needs.build.outputs.id }}.jar
96+
config: ./github/workflow-resources/openfire-demoboot-continuous-lucene-update.xml
9497

9598
- name: Run XMPP interop tests
9699
uses: XMPP-Interop-Testing/xmpp-interop-tests-action@main

0 commit comments

Comments
 (0)