File tree Expand file tree Collapse file tree 3 files changed +54
-3
lines changed Expand file tree Collapse file tree 3 files changed +54
-3
lines changed Original file line number Diff line number Diff line change
1
+ name : Integ Tests
2
+
3
+ on :
4
+ workflow_dispatch : {}
5
+
6
+ jobs :
7
+ integ_tests :
8
+ name : Run Integration Tests
9
+ runs-on : ubuntu-latest
10
+ permissions :
11
+ id-token : write
12
+ contents : read
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+
16
+ - name : " Set up Typescript"
17
+ uses : actions/setup-node@v4
18
+ with :
19
+ node-version : 20
20
+
21
+ - name : Install uv
22
+ uses : astral-sh/setup-uv@v3
23
+ with :
24
+ enable-cache : true
25
+
26
+ - name : " Set up Python"
27
+ uses : actions/setup-python@v5
28
+ with :
29
+ python-version-file : " src/python/.python-version"
30
+
31
+ - name : Install CDK CLI
32
+ run : npm install -g aws-cdk
33
+
34
+ - name : Configure AWS Credentials
35
+ uses : aws-actions/configure-aws-credentials@v2
36
+ with :
37
+ role-to-assume : ${{ secrets.INTEG_TEST_ROLE_ARN }}
38
+ aws-region : ${{ secrets.INTEG_TEST_REGION }}
39
+
40
+ - name : Run tests
41
+ run : ./e2e_tests/run_integ_test.sh
42
+ timeout-minutes : 15
43
+ working-directory : ${{ github.workspace }}
44
+
45
+ - name : Clean up
46
+ if : always()
47
+ run : ./e2e_tests/clean_up_integ_test.sh
48
+ working-directory : ${{ github.workspace }}
Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ export INTEG_TEST_ID=$UUID
8
8
echo $INTEG_TEST_ID > ./e2e_tests/integ-test-id
9
9
10
10
# Deploy Python-based example MCP server
11
- cd examples/servers/time
11
+ cd src/python
12
+ uv sync --frozen --all-extras --dev
13
+
14
+ cd ../../examples/servers/time
12
15
uv pip install -r requirements.txt
13
16
cdk deploy --app ' python3 cdk_stack.py'
14
17
Original file line number Diff line number Diff line change @@ -83,8 +83,8 @@ export class ChatSession {
83
83
84
84
for ( const [ i , userInput ] of this . userUtterances . entries ( ) ) {
85
85
if ( i != 0 ) {
86
- console . log ( "\n**Pausing 5 seconds to avoid Bedrock throttling**" ) ;
87
- await new Promise ( ( resolve ) => setTimeout ( resolve , 5000 ) ) ;
86
+ console . log ( "\n**Pausing 30 seconds to avoid Bedrock throttling**" ) ;
87
+ await new Promise ( ( resolve ) => setTimeout ( resolve , 30 * 1000 ) ) ;
88
88
}
89
89
90
90
console . log ( `\You: ${ userInput } ` ) ;
You can’t perform that action at this time.
0 commit comments