Skip to content

Commit

Permalink
extra tests, only run ftp tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jul 16, 2022
1 parent 11c7c12 commit c89167c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,10 @@ jobs:
run: |
if [ "${DO_DEPLOY}" == "true" ]; then
echo "------- Maven Deploy on ${{ github.event_name }} -------";
mvn -B -e -f loader/pom.xml clean deploy --settings travis-settings.xml -DtestJavaVersionExec="${{ env.LUCEE_TEST_JAVA_EXEC }}";
mvn -B -e -f loader/pom.xml clean deploy --settings travis-settings.xml -DtestJavaVersionExec="${{ env.LUCEE_TEST_JAVA_EXEC }}"; -DtestFilter="ftp"
else
echo "------- Maven Install on ${{ github.event_name }} ---------";
mvn -B -e -f loader/pom.xml clean install -DtestJavaVersionExec="${{ env.LUCEE_TEST_JAVA_EXEC }}"
mvn -B -e -f loader/pom.xml clean install -DtestJavaVersionExec="${{ env.LUCEE_TEST_JAVA_EXEC }}" -DtestFilter="ftp"
fi
- name: Publish Test Results
uses: EnricoMi/publish-unit-test-result-action@v1
Expand Down
6 changes: 5 additions & 1 deletion test/tags/FTP.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,11 @@ component extends="org.lucee.cfml.test.LuceeTestCase" labels="ftp,sftp" {

// we add again a file and directory to be sure we can delete a folder with content
ftp action="createdir" directory=subdir connection = "conn";
ftp action="putFile" localfile=getCurrentTemplatePath() remoteFile=subfile connection= "conn";
ftp action="putFile" localfile=getCurrentTemplatePath() remoteFile=subfile connection="conn";
// LDEV-3528 transferMode=“binary” causes "Connection is not open" error
ftp action="putFile" localfile=getCurrentTemplatePath() remoteFile=subfile connection="conn" transferMode="ASCII";
ftp action="putFile" localfile=getCurrentTemplatePath() remoteFile=subfile connection="conn" transferMode="auto"; // default
ftp action="putFile" localfile=getCurrentTemplatePath() remoteFile=subfile connection="conn" transferMode="binary";


}
Expand Down

0 comments on commit c89167c

Please sign in to comment.